Search code examples
androidtokengoogle-api-java-clientauthsub

Get Google AuthSub token from android app


I'm writing an android program which must interact with google documents, so I have watched this sample, but it uses an AuthSub token. How can I get an AuthSub Token from an android app?


Solution

  • For accessing Google Docs or any other Google service (or any OAuth based service for that matter) you will need to find a way to do an OAuth based authentication, after which you can u get a secure token which you can use to access a service based on the users credentials.

    There are some really good examples to get you started:

    For something specific to Google Docs have a look at