Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making an OAuth connection from a Windows application to a Google App Engine application

We have a Windows 7 Task Tray application that needs to access services in our Google App Engine application, and we are having difficulty making the OAuth connection between them work. For some reason our OAuth libraries that work with the Twitter and Tumblr OAuth implementations do not seem to work in this scenario with Google. Google is returning a 400 bad request response to the last step in the OAuth authorization sequence.

To debug the problem I am trying to use Google's OAuth 1.0 Playground page (http://googlecodesamples.com/oauth_playground/index.php). But I can't figure out what should be entered for the "scope" in step 1. If I enter the name of our GAE server the sequence will fail with the error message "Invalid scope". Clearly, choosing one of the provided scopes (the Google API services) is not an option for us.

Can anybody tell me how the OAuth scope designation should be set when accessing Google App Engine hosted services?

like image 895
Drew Stoddard Avatar asked Jul 26 '12 02:07

Drew Stoddard


1 Answers

just for reference look at this blog,looks helpful in your case

http://ikaisays.com/2011/05/26/setting-up-an-oauth-provider-on-google-app-engine/

like image 197
Cris Avatar answered Oct 07 '22 00:10

Cris