UserRecoverableAuthException: NeedPermission

后端 未结 6 644
醉酒成梦
醉酒成梦 2020-12-01 09:16

I tried to follow tutorial: https://developers.google.com/android/guides/http-auth.

Code:

token = GoogleAuthUtil.getToken(getApplicationContext(),
           


        
6条回答
  •  借酒劲吻你
    2020-12-01 09:56

    I had the same error, in my case I was using a wrong scope, I just change

    https://www.googleapis.com/auth/plus.login
    

    for

    https://www.googleapis.com/auth/userinfo.profile
    

提交回复
热议问题