Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

4/28/2021 How to allow users to sign in with their Google account — Odoo 14.

0 documentation

How to allow users to sign in with their


Google account

Connect to your Google account and go to the Google API Dashboard


(https://console.developers.google.com/).
Click on Create Project and enter the project name and other details.

Click on Use Google APIs

https://www.odoo.com/documentation/user/14.0/general/auth/google.html 1/4
4/28/2021 How to allow users to sign in with their Google account — Odoo 14.0 documentation

On the left side menu, select the sub menu Credentials (from API Manager) then
select OAuth consent screen.

Fill in your address, email and the product name (for example odoo) and then save.

Then click on Add Credentials and select the second option (OAuth 2.0 Client ID).

https://www.odoo.com/documentation/user/14.0/general/auth/google.html 2/4
4/28/2021 How to allow users to sign in with their Google account — Odoo 14.0 documentation

Check that the application type is set on Web Application. Now configure the
allowed pages on which you will be redirected.
To achieve this, complete the field Authorized redirect URIs. Copy paste the
following link in the box: http://mydomain.odoo.com/auth_oauth/signin
(http://mydomain.odoo.com/auth_oauth/signin). Then click on Create

https://www.odoo.com/documentation/user/14.0/general/auth/google.html 3/4
4/28/2021 How to allow users to sign in with their Google account — Odoo 14.0 documentation

Once done, you receive two information (your Client ID and Client Secret). You have
to insert your Client ID in the General Settings.

https://www.odoo.com/documentation/user/14.0/general/auth/google.html 4/4

You might also like