Social Signup should fetch the correct name field from the authentication

User’s name is not fetched from Google; it displays their email alias instead.

  • Get basic profile: If signed in, you can retrieve the user's basic profile information using auth2.currentUser.get().getBasicProfile().

  • Extract the name: The getBasicProfile() method returns an object containing various profile details, including getName(), getGivenName() (first name), and getFamilyName() (last name).

Please authenticate to join the conversation.

Upvoters
Status

In Progress

Board
🐛

Known Bugs

Date

4 months ago

Author

Aditya Jaiswal

Subscribe to post

Get notified by email when there are changes.