Unable to retriever user.name & user.email

Been trying to find a solution the past few hours. The login function works, when I console.log isAuthencated, it reflects true but when I console.log user, I get the following details in the screenshot. I’m unable to retrieve a user’s name and email. console.log both user.name & user.email, reflects undefined.

Hello @nicklye26 ,

Welcome to the Community!

After logging in, you can use the user’s access token and calling the /userinfo endpoint which you can then retrieve user.name and user.email.