💻 Tech
To get the AuthService’s ID token claims, which contain profile information like e-mail address and user’s name, use idTokenClaims$
. It’s an observable, but you don’t need to subscribe to it; you can convert the Observable to a promise so you can use await.
const myClaims = await firstValueFrom(this.auth0Service.idTokenClaims$);