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: 'example@yahoo.com', 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'}

Any help is greatly appreciated!!

Hi there @alihaithamsalem and welcome to the community!

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

Let us know!