Closed dsmabulage closed 2 months ago
Google login fails when the user does not have a familyName in their Google account.
The login should succeed regardless of whether the user's Google account has a last name set or not.
The login process fails if the user's Google account does not have a last name set.
Make the userProfile.last_name field nullable to allow users without a last name to log in successfully.
userProfile.last_name
userProfile
last_name
Description
Google login fails when the user does not have a familyName in their Google account.
Steps to Reproduce
Expected Behavior
The login should succeed regardless of whether the user's Google account has a last name set or not.
Current Behavior
The login process fails if the user's Google account does not have a last name set.
Attachments
Proposed Solution
Make the
userProfile.last_name
field nullable to allow users without a last name to log in successfully.Implementation
userProfile
model to make thelast_name
field nullable.last_name
field.Additional Information
last_name
field is nullable will improve the user experience and allow all users to log in without issues using google.