invertase / invertase/react-native-firebase

🚀 [auth] Allow passing in raw nonce when using signInWithCredential

Open
#8,346 4 comments 1 reaction 0 assignees View on GitHub
impact: web-implementation Keep Open Needs Attention type: enhancement
Dominant language
TypeScript
Stars
12.3k
Forks
2.3k
Avg merge
3d 3h
Merged PRs (30d)
79

Description

When using `signInWithCredential`, there doesn't appear to be a way to pass in the raw nonce, which is required if you're using an id token that contains a nonce: https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/OAuthProvider.CredentialBuilder#setIdTokenWithRawNonce(java.lang.String,java.lang.String)

Maybe it could just be added to the `AuthCredential` interface and then passed down into the native `signInWithCredential` along with the provider ID, token and secret

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.