İçereği Atla
Menü
Bu soru işaretlendi
2757 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 24
2248
0
Şub 24
1353
2
Tem 19
4538
0
Tem 22
7170
1
Şub 21
11808