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

Add /userinfo endpoint #159

Open
sergiodxa opened this issue Jan 17, 2025 · 0 comments · May be fixed by #160
Open

Add /userinfo endpoint #159

sergiodxa opened this issue Jan 17, 2025 · 0 comments · May be fixed by #160

Comments

@sergiodxa
Copy link

Some providers like Auth0 and Okta has this /userinfo endpoint that you can send a GET request with the access token and get the data of the user stored in the server.

It could be nice to implement this using the subjects we create when setting up the issuer server, fetch /userinfo and get the subject data back.

I know the subject is included in the access token JWT but supporting this would allow OpenAuth to be more generic as a resource server receiving the access token can fetch the /userinfo endpoint regardless if the IdP is OpenAuth, Auth0, Okta, etc.

@sergiodxa sergiodxa linked a pull request Jan 17, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant