Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Change photoUrl to photoURL in cloud functions auth provider payload #4600

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

macksal
Copy link

@macksal macksal commented May 31, 2022

Description

The Firebase SDKs expect the Photo URL property on a user payload to be named photoURL but it is returned from the emulator as photoUrl. The property name is changed correctly for the top-level user info, but not for the array of third-party provider info. See #2887 for more context.

Scenarios Tested

I haven't manually tested this as it is a clear typo from copying over the types from the REST API. All tests are still passing.

@macksal
Copy link
Author

macksal commented May 31, 2022

I see based on the type definitions in firebase-admin-node that uid should perhaps also be returned here? If someone can sanity check this, it would also be a trivial change to add here.

@bkendall bkendall requested a review from taeold May 31, 2022 15:37
@haythamhakim
Copy link

any updates on this? The inconsistency is causing issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants