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

Odoo 9 have CSRF token authentication.

So I try with following json-rpc POST request.


http://odoo.server.com/web/login

csrf_token=0a006defe20c633957b2516dc356854212f211dco1486656588&login=username&password=password&redirect=


It working in browser. But I call the same request via mobile it return 400 error.


Any one guide me how to Authenticate via JSON-RPC

Avatar
Zrušit
Nejlepší odpověď

Hi,

IMHO, I think you can call the controller /web/session/authenticate using a JSON call, this will authenticate the given params ...

Hope this could helps 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 22
5575
1
úno 25
1434
3
čvc 20
12943
0
bře 15
3930
2
bře 15
5593