+91-79-2975-0867,+91-903-347-2982,+91-987-935-4457   contact@serpentcs.com

How to Connect to Odoo using Google Account

Reference Important: Make sure Odoo is correctly configured to send email before starting this tutorial. Odoo will need to email an activation link when you enable OAUTH. So, let’s get started. Enabling OAuth Support in Odoo 1. Login to Odoo as the Administrator 2. Browse to Settings -> Apps 3. In the search box, clear the Apps filter 4. Search for OAuth2 5. Click Install to add the OAuth2 Authentication module Connect to Odoo using Google Account 6. After Successful Installation Browse to Settings -> Configuration -> General Settings: 7. Allow external users to sign up ->check this (Required to provide Sign Up Facilty to other Users) 8. Allow users to sign in with Google. 9. Template user for new users created through signup must be Template User. Connect to Odoo using Google Account Enabling Google App Engine Admin Console This step will be required only if You Wish to use it For Google Business App Account 1. Browse to https://admin.google.com and login as the Google domain adminstrator 2. Click More Controls at the bottom of the page 3. Click More Google Apps 4. Click the X next to Filter: Top featured services to clear the filter 5. Scroll down the list and click Google App Engine Admin Console 6. Turn it ON for everyone Create Google Apps OAuth2 access for Odoo This is the most Important Part of Setup 1. Browse to Google Developers Console <https://console.developers.google.com> and if necessary login 2. Click Create Project (top left) Connect to Odoo using Google Account 3. In Project Name enter whatever you want, e.g. odoologin 4. Click Create Connect to Odoo using Google Account 5. In the menu on the left, expand APIs & auth then click Credentials 6. Now, From the List Select "OAuth 2.0 client ID" Connect to Odoo using Google Account 7. Click on Configure Content screen To Verify Your Account Detail and Save it 8. Select Application type to Web application 9. Here, it is mandatory to enter full domain name. (Must have a protocol. Cannot contain URL fragments,IP address or relative paths. Cannot be a public IP address.) 10. If you wish to setup this thing in your Local System then you need to create Alias in your system. 11. Under Authorized JavaScript origins enter your server domain name (it is optional for odoo), e.g. http://mydomain.com 12. Under Authorized redirect URIs enter you domain plus the OAUTH path. (/auth_oauth/signin), e.g. 13. Click Create Connect to Odoo using Google Account 14. After Successful Creation You Need to copy client ID   Add Google OAuth2 credentials to Odoo 1. Login to Odoo as the Administrator 2. Browse to Settings -> Users -> OAuth Providers 3. Click Google OAuth2 Account to open that Record 4. Click Edit then check the Allowed checkbox 5. Enter OAuth 2.0 client ID in client Id field Connect to Odoo using Google Account 6. Click Save. After this setup go to Login Screen Click on Login In With Google button which will Redirect you to Google login screen enter your Google credentials and grant access to OpenERP. Connect to Odoo using Google Account After Allowing Access you will be Redirect to OpenERP System . Connect to Odoo using Google Account Serpent Consulting Services Pvt. Ltd. is providing various ODOO services in more than 42 countries. Our services includes Training, Support, Migration, Implementation, Development and offshore. We are a team of 60+ full time OpenERP/ODOO experts including 4 techno functional experts who were part of core openerp framework development and having 8+ years of experience in OpenERP. We have conducted 56+ local and international functional and technical training on OpenERP with 90% satisfaction ratio. Look at the events and customer feedback.
Thanks.