跳至內容
選單
此問題已被標幟
1 回覆
15197 瀏覽次數

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
5576
1
2月 25
1446
3
7月 20
12955
0
3月 15
3940
2
3月 15
5597