Reputation: 1113
New to OAuth2. I am writing an Android app that communicates with an App engine server application.
Any ideas or am I missing something obvious?
Upvotes: 1
Views: 347
Reputation: 1022
The Android to App Engine OAuth2 communication is documented in this answer: google app engine oauth2 provider
Upvotes: 1
Reputation: 712
Using OAuth, 1.0 or 2.0, doesn’t matter in this, leads to the app obtaining an access token - then based on the API of your server, you pass this access token with requests instead of login and password. I guess the way to attach the access token string to URL requests may be slightly different between different APIs, see the documentation for yourself. Or if you are making the server app at the same time, then you need to figure out your way to do so (like sending a HTTP header Authorization: OAuth access_token=abcdefgh…
.
Upvotes: 0