By default we are fetching the given name and last name from the user object. For database connections, it could be that these are on app_metadata or user_metadata.
The code should ideally fallback if the information is not found on the user level.
It also looks like here only the "email" is provided as an included field. I think in addition to email, we should also be fetching give name, last name and app+user metadata no?
By default we are fetching the given name and last name from the user object. For database connections, it could be that these are on app_metadata or user_metadata.
The code should ideally fallback if the information is not found on the user level.