Hello, I am attempting to use an authenticated user’s id for verification purposes for something outside of Auth0, but haven’t been able to obtain the data.
I am able to access the user’s email through the following and access it through the state, but I am unable to access the user’s id. Am I missing something?
if (isAuthenticated) {
setMail(user.email)
console.log(user.user_id)
}