I am trying to learn to use Google App Engine and not having much luck.
Has anyone gotten the Tic Tac Toe example for Google App Engine(Java version) to work?
I have been trying to get this example to work -
developers.google.com/appengine/docs/java/endpoints/
This is the code for it -
`github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-java`
While I can get the app up and running , I can't get the OAUTH part it to work/authenticate .
The second ,lesser, problem is I am trying to use the web client part of it but it doesn't find the app from a browser unless run it via the api explorer. If I wrap it in - ../_ah/api/explorer , I can get it to make make an unauthorized call (getmove()) but any of the other methods do not work.
The functions that require oauth fail miserably.
I even have my google plus email listed in the permissions of the app . I'll even be logged in to Google Plus and the OAUTH fails.
I changed the client id where the readme file directed.
I get the following response.
401 Unauthorized
Show headers -
{ "error": { "message": "com.google.appengine.api.oauth.OAuthRequestException: Invalid user.", "code": 401, "errors": [ { "domain": "global", "reason": "required", "message": "com.google.appengine.api.oauth.OAuthRequestException: Invalid user." } ] } }
This has taken way too long . Any help would be useful.
Thanks.