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

Client credentials flow should not require a subject #219

Open
jjg-123 opened this issue Nov 12, 2024 · 0 comments
Open

Client credentials flow should not require a subject #219

jjg-123 opened this issue Nov 12, 2024 · 0 comments

Comments

@jjg-123
Copy link
Contributor

jjg-123 commented Nov 12, 2024

The client credentials flow can cause an error if no subject is supplied in the phase where the user metadata (for the ID token) are checked. What should happen is that the subject is only verified if the client has explicitly requested the openid scope, so even if the client is configured with one, it should be optional.

Until this is deployed, add the parameter sub=XXX, where XXX is any subject you care, e.g. service.

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