Skip to Content
Menú
This question has been flagged
2749 Vistes

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?? 

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 24
2245
0
de febr. 24
1351
2
de jul. 19
4535
0
de jul. 22
7169
1
de febr. 21
11801