Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3172 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 24
2510
0
úno 24
1479
2
čvc 19
4764
0
čvc 22
7361
1
úno 21
12197