You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally added a custom claim (e.g. mycustomclaim) to Id Token and was able to see and retrieve the custom claim after logging in using authClient.token.parseFromUrl or using the TokenManager, which works great.
I then needed to add a custom claim to the Access Token. Unfortunately there doesn't seem to be a way to retrieve that custom claim since the claims object that exists on idToken does not seem to exist for accessToken, which can be seen below.
Is there a recommended way to be able to read that custom claim?
Hello!
I originally added a custom claim (e.g.
mycustomclaim
) to Id Token and was able to see and retrieve the custom claim after logging in usingauthClient.token.parseFromUrl
or using theTokenManager
, which works great.I then needed to add a custom claim to the Access Token. Unfortunately there doesn't seem to be a way to retrieve that custom claim since the
claims
object that exists onidToken
does not seem to exist foraccessToken
, which can be seen below.Is there a recommended way to be able to read that custom claim?
The text was updated successfully, but these errors were encountered: