diff --git a/src/android/FirebasePlugin.java b/src/android/FirebasePlugin.java index c96c45f1c..4b7884d64 100755 --- a/src/android/FirebasePlugin.java +++ b/src/android/FirebasePlugin.java @@ -1102,7 +1102,7 @@ private void extractAndReturnUserInfo(final CallbackContext callbackContext) thr returnResults.put("phoneNumber", user.getPhoneNumber()); returnResults.put("photoUrl", user.getPhotoUrl() == null ? null : user.getPhotoUrl().toString()); returnResults.put("uid", user.getUid()); - returnResults.put("providerId", user.getProviderId()); + returnResults.put("providerId", user.getIdToken(false).getResult().getSignInProvider()); returnResults.put("isAnonymous", user.isAnonymous()); user.getIdToken(true).addOnSuccessListener(new OnSuccessListener() {