openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23571
[Bug 1118151] Re: [7.0] Google authentication failing
** Branch linked: lp:openobject-addons/7.0
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1118151
Title:
[7.0] Google authentication failing
Status in OpenERP Addons (modules):
Fix Released
Bug description:
I am trying to get the google-based authentication working. When
signing in with google credentials I keep getting an "Authentication
error" message.
Taking a look at the log, I have found the following error:
2013-02-06 21:16:33,653 10586 ERROR ? openerp.addons.auth_oauth.controllers.main: OAuth2: %d format: a number is required, not str
Traceback (most recent call last):
File "/opt/openerp-codeback/server/openerp/addons/auth_oauth/controllers/main.py", line 63, in signin
credentials = u.auth_oauth(cr, SUPERUSER_ID, provider, kw, context=context)
File "/opt/openerp-codeback/server/openerp/addons/auth_oauth/res_users.py", line 79, in auth_oauth
login = self._auth_oauth_signin(cr, uid, provider, validation, params, context=context)
File "/opt/openerp-codeback/server/openerp/addons/auth_oauth_signup/res_users.py", line 42, in _auth_oauth_signin
email = validation.get('email', 'provider_%d_user_%d' % (provider, oauth_uid))
TypeError: %d format: a number is required, not str
I am working on ubuntu 12.10 and OpenERP version "7.0-20130108-001542"
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1118151/+subscriptions
References