firebase-js-sdk
firebase-js-sdk copied to clipboard
signInWithCustomToken has null providerId on UserCredential
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.
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.