firebase / firebase/firebase-js-sdk
signInWithCustomToken has null providerId on UserCredential
Open
api: auth
needs-attention
question
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 1k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 37
Description
When signing in using signInWithCustomToken, it returns a user credential. The providerId field is null. However, there is also the user field. The user field also has a providerId field, and the providerId field of the user is "firebase", not null. I don't think this mismatch is intentional. The providerId at the root of the userCredential should also be "firebase" when using signInWithCustomToken.
Contributor guide
Assessment
This issue has not been assessed yet.