Why GoogleAuthUtil.getToken() method generate two types of tokens?
I am integrating Google sign in my Android app. I am using newly mentioned Google+ signin API and am able to get user name, email, profile photo for my app. But when I call the GoogleAuthUtil.getToken() with different parameters I get two kinds of tokens. One is base64 encoded idToken (I think it is JWT or JSON Web Token) but another one generate a token looks different and shorter. Why this this happening? If I use String accountName = Plus.AccountApi.getAccountName(mGoogleApiClient); Account account = new Account(accountName, GoogleAuthUtil.GOOGLE_ACCOUNT_TYPE); String scopes = "audience:ser
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.