Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2787 Представления

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
2260
0
февр. 24
1359
2
июл. 19
4549
0
июл. 22
7198
1
февр. 21
11827