Hi
I implemented Authentication according to the two steps in the Getting Started
guide Angular: Login
followed by Angular: Calling an API
.
So now I have an Angular application that can extract users profile
information from auth token using auth.userProfile$
However when I get token on the server side I see no email
"iss": "https://dev-xxxxxx.auth0.com/",
"sub": xx,
"aud": ["https://xxxxxx-ui.ca", "https://dev-xxxxxx.auth0.com/userinfo"],
"iat": xx,
"exp": xx,
"azp": "xx",
"scope": "openid profile email"
}
Is there a way to get that information on the server?
I followed other topics but they speak of having a round trip to the Auth0 server for the user info and I need only user ID and email.
Please advice.