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 might have missed something. But I don't see how I can get claims not already predefined in JwtClaims (typically email claim from OIDC from Google for example).
A quick fix would be to simply change the type of decodeClaims or to add another function like this:
I might have missed something. But I don't see how I can get claims not already predefined in JwtClaims (typically
email
claim from OIDC from Google for example).A quick fix would be to simply change the type of
decodeClaims
or to add another function like this:So I will be able to get any claim easily.
Another solution would be to change the type of JwtClaims to contains a Map for all non predefined claims.
If you believe this is reasonable I'll make a quick PR.
The text was updated successfully, but these errors were encountered: