Skip to Content
Menu
v 11.0 Third Party 376
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 354
Technical Name odoo_auth2
LicenseAGPL-3
Websitehttps://wangoes.com/
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 354
Technical Name odoo_auth2
LicenseAGPL-3
Websitehttps://wangoes.com/

Overview

This module provides standard API for authentication2.The Authorization Code grant type is used by confidential and public clients to exchange an authorization code for an access token.After the user returns to the client via the redirect URL, the application will get the authorization code from the URL and use it to request an access token.

Configuration

API Request Oauth2:

Token Name :- Auth2 Token

Redirect URI:- https://www.getpostman.com/oauth2/callback

Auth URL :- http://localhost:8069/oauth2/auth

Access Token URL :- http://localhost:8069/oauth2/access_token

Client ID:- Paste Consumer key ex.(v7oOYPhqnagqGod5X2fY4qPi4JdHsL)

Client Secrat:- Paste Consumer Secrat ex(p80Gd595gpjJKSxfum2yDqCDnseFXD)

Grant Type:- Authorization Code

Generate Consumer Key and Secret for Auth2

Log in your Odoo instance with an administrator account Go to Settings ‣ Users ‣ Users Click on the user you want to use for REST API access Click the OAuth applications button Register an Application you want to interact with your Odoo instance Click on Save button to generate Consumer Key and Secret.

Request Token

You have to Request Token for Auth2 Authorization

Get Access Token

Get Access Token using Authentication

Redirect URI Get Access Token Odoo

Copy Access Token and paste Haeder Request Fetch an access token from the Odoo using the authorization code obtained during user authorization.

Call API and Get Response

When your API Call after that You will get response with status code 200

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
by
Khairul
on 1/11/21, 10:19 AM

Hi, Do you have this module for Odoo v14 CE. Thanks.