The user object retrieved using the useUser
hook from auth0/nextjs
package seems to be missing some important properties:
{
"nickname": "example",
"name": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="bedbc6dfd3ced2dbfec7dfd6d1d190ddd1d3">[email protected]</a>",
"picture": "https://s.gravatar.com/avatar/ca48de58bbf91d5963aa…&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fal.png",
"updated_at": "2022-05-19T13:13:29.487Z",
"sub": "auth0|628639882896f400694b6e72"
}
It appears that important properties such as email are missing from the user object. Any assistance in resolving this issue would be greatly appreciated.