Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3168 Vizualizări

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 24
2508
0
feb. 24
1478
2
iul. 19
4759
0
iul. 22
7357
1
feb. 21
12196