You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upstream SDKs for iOS, Android and web allow you to get the user, additional user info, the access token and the ID token after doing an OpenID Connect sign-in. For the access token and the ID token:
However, this wrapper only seems to expose the user and the additional user info. The auth result is handled by promiseWithAuthResult on Android and iOS, and you can see that they only return those two:
The upstream SDKs for iOS, Android and web allow you to get the user, additional user info, the access token and the ID token after doing an OpenID Connect sign-in. For the access token and the ID token:
OAuthProvider.credentialFromResult
with UserCredential, shown in step 4 here: https://firebase.google.com/docs/auth/web/openid-connect#handle_the_sign-in_flow_with_the_firebase_sdkHowever, this wrapper only seems to expose the user and the additional user info. The auth result is handled by
promiseWithAuthResult
on Android and iOS, and you can see that they only return those two:On the React Native side the result goes on to
_setUserCredential
: https://github.com/invertase/react-native-firebase/blob/main/packages/auth/lib/index.js#L181It would be useful to have parity with the upstream by including the tokens as well.
The text was updated successfully, but these errors were encountered: