Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2769 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 24
2250
0
fev. 24
1357
2
jul. 19
4542
0
jul. 22
7179
1
fev. 21
11817