Home » Android » android – I am not getting access token while google sign in-Exceptionshub

android – I am not getting access token while google sign in-Exceptionshub

Posted by: admin February 26, 2020 Leave a comment

Questions:
gso = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestIdToken(getString(R.string.default_web_client_id))
                .requestServerAuthCode(getString(R.string.default_web_client_id))
                .requestEmail()
                .build()

I am using json file from firebase and my project by default using web client id not Android Id with SHA key

How to&Answers: