I am trying to get Authorization for Google Buzz,Contacts from an Android application. The flow is similar to this.
- The user chooses if he wants to use Buzz.
- Using OAuth/Client Auth, we need to get a one-time authorization code.
- This code would be used by a web service to periodically read Buzz feeds.
Now, the problem is how do I obtain the authorization code (Not temporary token) from the Android App and send it to the webservice. I could use the normal OAuth2.0 and use my webservice as the redirect URL to obtain the code. But in that case how can I let the webservice know that the code pertains to which user? Can I pass extra information with the OAuth dance?