Android Google Auth Sign In get Id token handleSignInResult:false

后端 未结 4 1034
隐瞒了意图╮
隐瞒了意图╮ 2021-01-20 07:41

I am setting GoogleSignInOptions and Google Api Client like this

    GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SI         


        
4条回答
  •  不知归路
    2021-01-20 07:57

    Are you getting error 12501? I also had this issue because I was using debug.keystore which comes with the SDK (for some reason unknown to me, it didn't work). I created a new one on my own, got SHA-1 hash from it, entered in Google API console and then it worked.

    Be sure you set up signing configs for both debug and release builds with the new keystore.

提交回复
热议问题