Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2736 Переглядів

I am sending a login request from a react app to web/login endpoint, but this endpoint needs a csrf token and the odoo tells me that:
" if the form is generated or posted in javascript, the token value is
available as `csrf_token` on `web.core"

how to get this value in the react app so I can send it with the request?
Is there any endpoint that will give me the value of the csrf token?? 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
трав. 24
2241
0
лют. 24
1350
2
лип. 19
4532
0
лип. 22
7150
1
лют. 21
11799