[google-appengine] Re: Authentication problem

2011-06-20 Thread GAE app developer
Sorry Johan. I will put it in the below mentioned group On Jun 20, 6:06 pm, Johan Euphrosine wrote: > Hi, > > This should be discussed > onhttp://groups.google.com/group/google-api-python-clientas this is not > specific toGoogleAppEngine. > > Thanks in advance. > > On Mon, Jun 20, 2011 at 2:51

Re: [google-appengine] Re: Authentication problem

2011-06-20 Thread Johan Euphrosine
Hi, This should be discussed on http://groups.google.com/group/google-api-python-client as this is not specific to Google App Engine. Thanks in advance. On Mon, Jun 20, 2011 at 2:51 PM, GAE app developer wrote: > from oauth2client.appengine import OAuth2Decorator > > decorator = OAuth2Decorator

[google-appengine] Re: Authentication problem

2011-06-20 Thread GAE app developer
from oauth2client.appengine import OAuth2Decorator decorator = OAuth2Decorator( client_id='', client_secret='', scope='https://www.googleapis.com/auth/buzz', user_agent='buzz-appengine-sample/1.0') http = httplib2.Http(memcache) service = build("buzz", "v1", http=http) class MainHandler(

Re: [google-appengine] Re: Authentication problem

2011-06-20 Thread Johan Euphrosine
You have to use moderator scope: https://www.googleapis.com/auth/moderator As explained in the Moderator API documentation: http://code.google.com/apis/moderator/v1/using_rest.html On Mon, Jun 20, 2011 at 11:27 AM, Saurabh S wrote: > Thanks Johan,that error has been resolved. > > Now after that

[google-appengine] Re: Authentication problem

2011-06-20 Thread GAE app developer
Thanks Johan,that error got resolved. Authentication is working. Thank You On Jun 20, 12:35 pm, Johan Euphrosine wrote: > Hi Rohit, > > If you are running dev_appserver.py, > > make sure the list of Redirect URIs in theGoogleAPIs Console/Api > access section:https://code.google.com/apis/console

[google-appengine] Re: Authentication problem

2011-06-20 Thread Saurabh S
Thanks Johan,that error has been resolved. Now after that it says invalid scope. Error:OAuth 2.0 error: invalid_scope Is there any particular URL for scope or I have to manually enter a url on a particular basis Can you please provide information on this On Jun 20, 12:35 pm, Johan Euphrosine w

Re: [google-appengine] Re: Authentication problem

2011-06-20 Thread Johan Euphrosine
Hi Rohit, If you are running dev_appserver.py, make sure the list of Redirect URIs in the Google APIs Console/Api access section: https://code.google.com/apis/console/ Contains: http://localhost:8080/oauth2callback Note http:// not https://. If you are running the deployed version, make sure i

[google-appengine] Re: Authentication problem

2011-06-19 Thread GAE app developer
Thanks Johan Even though I have signed in using my Gmail account it does not seem to make any difference. It is displaying the same error. And also i tried using the oauthdecorator 1. when I click on yes or no button for a particular submission it requests for login and after I sign in it displays