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.
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
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.
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.
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
|Asked: 2/14/13, 2:07 AM|
|Seen: 4156 times|
|Last updated: 4/17/15, 8:06 PM|