I'm trying to set up oauth.
After an attempted log in, I get redirected to:
action=login&oauth_error=3
If I look at
auth_oauth.js
it doesn't cater for this code.
What does it mean?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I'm trying to set up oauth.
After an attempted log in, I get redirected to:
action=login&oauth_error=3
If I look at
auth_oauth.js
it doesn't cater for this code.
What does it mean?
I saw you ask this originally a couple of weeks ago. I tried to replicate the problem, but couldn't. However, having gone through the whole process successfully I made some videos. I'd be pleased to know that they got you past this road-block.
They don't address your oauth_error=3
problem, but if you were to try the same steps as in the video on a fresh database and were successful, it might help you understand what when wrong to cause the error in the first place.
All three together will cost you 7 minutes. :-)
(no audio by choice)
Have watched them - they're great, thank you. But yes, doesn't help. I can't even sign up, so don't get anywhere. I'm starting to suspect its an setting on my google app domain regarding federated sign in, but can't find the issue.
Hmmm. I remember seeing something on the web about OAuth being different for Google Apps accounts and normal free personal accounts. Have you tried creating a new "plainold" GMail account, and testing everything with that?
Have you even detected which software throws oauth_error=3, to get an idea of what it is supposed to mean? Anything in your log files?
@Martin H. Bramwell: so you've taken all this time to look into somebody else's problem, and recorded videos and all. That's what open source should be about, great work! At least they should honor you with a special badge, "dedicated" or something similar.
I wouldn't take it to that extreme. In fact open source is about sharing the benefits of one's own research. Thenon's problem coincided with my own need, and I wanted to be sure I knew how to avoid the oauth_error=3 sinkhole. I also saw a real lack of a proper explanation on how to do Google OAuth, so I made the videos. I tried to make the kind of howto video I myself look for : a thorough explanation in less than 10 minutes. Sure, a special badge would be nice! Of course getting your one up tick of recognition is also nice. Thanks! Well, I got one anyway. :-(
Agreed - thanks for the help! Well this is the error the debug log shows: openerp.addons.auth_oauth.controllers.main: OAuth2: access denied, redirect to main page in case a valid session exists, without setting cookies. Haven't tried plain ol gmail yet (agree its a good idea) because to be honest, if I can't get it working for the apps domain, then it's not useful to me.
I do not have an apps domain or I would try it out, to see if it is indeed the case that there are differences. Perhaps someone else can confirm. I don't have time right now.
hey, I suppose you have tried from a different browser?
I'm having a similar issue but I'm only getting the 500 internal server error, but, the user ends up in Odoo anyway.
|-----Update-----|
My issue was due to the default template for external user sign-in being set to Public user:
Settings --> General Settings:
□ Allow external users to sign up
Template user for new users created through signup [Public user] □->
I read about this in a Bug report, Public user does not have the proper permissions and is not reccomended for use in this instance.
https://github.com/odoo/odoo/issues/951
500: Internal server Error After New Public User Signup/Login #951
Thanks for the tip. In Odoo v13 need to activate in Settings/General Settings in the Users/Customer Account section set the option "Free sign up".
Hope it helps!
Here are detailed instructions on how I managed to get Google Apps (not Gmail) authentication to work with Odoo 8:
http://odootricks.wordpress.com/2014/09/18/setting-up-google-apps-authentication-for-odoo/
Google Apps authentication is different to standalone Gmail accounts, so make sure you follow each step carefully. In particular, filling out the consent screen section is important otherwise your redirect won't work. Most instructions don't mention this bit.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Dec 22
|
7267 | ||
|
2
Mar 21
|
13004 | ||
|
1
May 15
|
5252 | ||
|
2
Jan 19
|
3800 | ||
|
2
Oct 18
|
5096 |