User object missing some properties

Hey all,

Im having trouble getting the user’s email from the useUser hook in auth0/nextjs. This is the object I’m getting:

{nickname: 'example', name: '', picture: '…&', updated_at: '2022-05-19T13:13:29.487Z', sub: 'auth0|628639882896f400694b6e72'}

Any help is greatly appreciated!!

Hi there @alihaithamsalem and welcome to the community!

Interesting - Can you try to decode the token with and see if the email claim is there?

Let us know!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.