Sunday, 15 July 2012

Token error in Google Apps Marketplace application -



Token error in Google Apps Marketplace application -

we have google apps marketplace app deployed on app engine, , uses gdata apis , of 3 days ago (20 of june) started getting error in logs:

unauthorized - server responded with: 401, <html> <head> <title>token invalid - target disabled.</title> </head> <body bgcolor="#ffffff" text="#000000"> <h1>token invalid - target disabled.</h1> <h2>error 401</h2> </body> </html>

this piece of code raises error:

two_legged_oauth_token = gdata.gauth.twoleggedoauthhmactoken(consumer_key, consumer_secret, admin_email) # email settings api client email_settings_client = gdata.apps.emailsettings.client.emailsettingsclient(domain=domain) email_settings_client.auth_token = two_legged_oauth_token sig = email_settings_client.retrievesignature(username=guid) #this line throws error

i know apis , 2 legged auth deprecated, google says it's not supposed happen until next month or so. nil in code or servers has changed, i'm not sure error says, , googling hasn't provided me insights. might mean?

just long shot, if using openid authentication, service may have been closed down.

here find of import migration details : https://developers.google.com/+/api/auth-migration

google-app-engine google-apps-marketplace

No comments:

Post a Comment