Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2994 Widoki

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 24
2390
0
lut 24
1417
2
lip 19
4666
0
lip 22
7265
1
lut 21
12060