-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add helper for fetching userinfo (OIDC) #75
Comments
Ok, well after some debugging I was able to get what I needed from the id token after all. Still it might be nice to have easier access to the userinfo endpoint |
@jberger could you please share what you did to extract the userinfo from the id token? |
|
As OIDC is becoming even more commonplace, I would support more documentation and/or more helpers towards OIDC use here. |
Thanks, I'll try that. And thanks for the info about 'response_type' in #70. |
In OIDC the userinfo may be included in the authorization response/id token but it does not have to be so. For example Azure AD can provide some claim information in the authorization response/id token but to get the full set of information you need to call that userinfo_url fetched from the warmup.
Luckily the request is pretty easy: https://openid.net/specs/openid-connect-core-1_0.html#UserInfo
The text was updated successfully, but these errors were encountered: