コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
15227 ビュー

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

アバター
破棄
最善の回答

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 

アバター
破棄
関連投稿 返信 ビュー 活動
2
12月 22
5584
1
2月 25
1463
3
7月 20
12972
0
3月 15
3962
2
3月 15
5601