Skip to Content
Menu
This question has been flagged
2 Replies
4345 Views

Hello,
I'm developing API,for connection with IOS apps,
how to login in odoo explicitly and how to get session_id and csrf token .
using odoo14 EE .
Thanks

Avatar
Discard
Best Answer

The correct way to authenticate programmatically is using XML-RPC protocol. See here:

https://www.odoo.com/documentation/14.0/webservices/odoo.html

Avatar
Discard
Best Answer

Hi,

You can use /web/session/authenticate method in odoo.

See: Odoo Mobile App Development - Authentication

Thanks

Avatar
Discard
Author

Thanks for answer,

but to generate csrf token .

there is any method?

Related Posts Replies Views Activity
2
Nov 24
2167
2
Nov 24
172
1
May 24
452
1
Dec 23
649
1
Jan 21
1617