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

Disabling request to userinfo endpoint #26

Open
aikoven opened this issue Apr 26, 2024 · 0 comments
Open

Disabling request to userinfo endpoint #26

aikoven opened this issue Apr 26, 2024 · 0 comments

Comments

@aikoven
Copy link

aikoven commented Apr 26, 2024

Hi and thanks for this library!

In our setup we authenticate in OP with specified resource parameter to get an access token suited for particular audience. But the OP does not allow to use such tokens for userinfo endpoint — and it seems correct since the audience is an external API, not the OP itself.

The OP documentation suggests to use id_token claims instead of userinfo endpoint in this case.

Is it possible to add an option do disable userinfo request? Or maybe disable it implicitly if Resources is supplied.

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