← Back to team overview

openerp-india team mailing list archive

[Bug 1118151] Re: [7.0] Google authentication failing

 

Problem is with oauth2 I think .. same probleme for me :)

http://help.openerp.com/question/178/how-to-setup-openerp-v7-and-google-
oauth-provider-correctly/

-- 
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):
  Incomplete

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