android-googleapiclient

How to get access token after user is signed in from Gmail in Android?

一个人想着一个人 提交于 2019-11-26 06:37:19
问题 I am following Google Sign in for Android. Now I can get the idToken but my back end server that I have used earlier is expecting access Token as I was using Google+ Login earlier. Now I don\'t want to alter my server side. But still how can I use Google Sign in and get the access Token in my android app so that I can validate my user to my back end server. I was using GooglePlay Service 7.5.0 previously and now I am using GooglePlay Service latest 8.3.0. 回答1: For your requirements, you can