Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
15239 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
dez. 22
5593
1
fev. 25
1466
3
jul. 20
12981
0
mar. 15
3970
2
mar. 15
5602