firebase / firebase/firebase-js-sdk

signInWithCustomToken has null providerId on UserCredential

Open
#6,468 1 comment 0 reactions 0 assignees View on GitHub
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

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.