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

Support for token-based retrieval of userinfo #55

Open
aeneby opened this issue Oct 15, 2024 · 0 comments
Open

Support for token-based retrieval of userinfo #55

aeneby opened this issue Oct 15, 2024 · 0 comments

Comments

@aeneby
Copy link

aeneby commented Oct 15, 2024

At present, retrieving userinfo seems to require creating a Client, which in turn requires a username and password. In some cases however - for example, when using the pam_oidc module - we don't have these credentials. But we do have a valid token string.

According to the OIDC specification, it should be possible to retrieve the userinfo using just the token. But I can't find any way of doing this in the current implementation, unless I'm missing something obvious (I'm pretty new to both Go and OIDC).

If there's no way of doing this currently, would you be interested in a PR to implement this? Or is there a reason it's been left out?

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

1 participant