skip to Main Content

Can't access OAuth Access token method while doing Github Login with Firebase

According to Firebase documentation to get OAuth access token on successful login, we can get it from the getCredential() method like: authResult.getCredential().getAccessToken() Code: According to firebase: firebaseAuth .startActivityForSignInWithProvider(/* activity= */ this, provider.build()) .addOnSuccessListener( new OnSuccessListener<AuthResult>() { @Override public void onSuccess(AuthResult…

VIEW QUESTION
Back To Top
Search