Basic Authentication
Setup credentials following the instructions on Configuration. When you have obtained a client_id
and a client_secret
you can try out OAuth 2.0 resapi/1.0/common/basic
the flow goes as follows to get authorized:
Note
This authentication process supported for Odoo version 15 and later version.
OAuth endpoints:
POST {your_Odoo_server_url}/restapi/1.0/common/basic/access_token (Token Credentials Request endpoint)
1. Token Credentials Request
Fetch an access token from the Odoo using the authorization code obtained during user authorization.
POST /restapi/1.0/common/basic/access_token
Request:
Response:
Query Parameters:
client_id – Odoo
consumer key
client_secret – Odoo
consumer secret
Request Headers
Response Headers
Status Codes
Last updated