Se rendre au contenu
Menu
Cette question a été signalée
3310 Vues

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
Ignorer
Publications associées Réponses Vues Activité
1
mai 24
2570
0
févr. 24
1524
2
juil. 19
4848
0
juil. 22
7477
1
févr. 21
12295