Skip to content
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

Feature request: Support retrieving additional metadata via /userinfo #31

Open
cognifloyd opened this issue Dec 5, 2023 · 3 comments
Open

Comments

@cognifloyd
Copy link

It would be nice to optionally retrieve additional claims that are only accessible via the /userinfo endpoint (eg if the ID groups claim is only accessible via the /userinfo endpoint instead of Always).

@matthewdevenny
Copy link
Member

I understand the ask... but I am not seeing in the documentation where some claims are only accessible via /userinfo. Can you not just add the groups scope?

@matthewdevenny
Copy link
Member

For reference.. If I understand correctly you could get at these with additional scopes added to the scope query parameter
https://developer.okta.com/docs/reference/api/oidc/#scope-dependent-claims-not-always-returned

@cognifloyd
Copy link
Author

You can set a custom claim on an auth server to only be accessible via /userinfo.
Screenshot 2023-12-07 at 16 52 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants