Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

5

How can I allow users to log in with their Google+ account?

By
Pragmatic
on 2/14/13, 2:07 AM 4,345 views

Hi All,

I am trying to login in my Openerp app through my Google accout.

For this up-til now what i done:

1.Installed oauth module

2.Under Oauth Providers selected Google OAuth2 as allowed

3.Assign Client ID (which i got after from Google API console after creating a project ) and kept other default settings as it is. like Authentication URL,Scope,Validation URL,Data URL.

4.i started my server with --db-filter="DB NAME" option

5.On Login Screen I see "Log In With Google Link"

6.When I click on this link it gives me error "The redirect URI in the request: did not match a registered redirect URI"

i try to solve this issue by providing Redirect URL on Google APP Console.

Some times it may redirect me to Gmail login put after providing username and Password i again get error as "Error: redirect_uri_mismatch. The redirect URL in the request did not match a registered redirect URI"

Any thing i miss????.

What i want to achieve is to login in OpenERP app by using my Google login.

Thank you for your advice in advance.

1
Santiago
On 4/10/13, 2:11 AM

Please, check this guide were I used Google Apps for Business and managed to connect to OpenERP 7, is quite similar to Google +, https://accounts.openerp.com/forum/Help-1/question/6357

Best Regards,

Santiago

1

Martin

--Martin--
1978
| 5 6 8
Cornwall, Canada
--Martin--

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

Martin
On 4/12/13, 3:53 PM

Hi,

I have been wrestling with how to allow users to sign up, and subsequently log in, with their GMail account.

There seems to be enough interest and confusion about this topic that I made a short (8 minutes in total) video series about it.

http://www.youtube.com/watch?v=qCRCJgAiJmU&list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye

Note: If GMail OAuth is somehow different from Google+ OAuth, then this won't be the answer you are looking for.

One thing I did experience, (and saw it mentioned in some posts around the web) -- Google authentication did not work the first time! When I repeated the exact same steps it worked immediately.

1
Miguel Fernández
On 3/1/13, 8:09 AM

Hi.

Google Api Console -> Redirect URIs: http://yourdomain/auth_oauth/signin

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/14/13, 2:07 AM
Seen: 4345 times
Last updated: 4/17/15, 8:06 PM