ncsa / oa4mp

Open Authorization for MyProxy
https://oa4mp.org/
Other
8 stars 10 forks source link

Client credentials flow should not require a subject #219

Open jjg-123 opened 2 weeks ago

jjg-123 commented 2 weeks ago

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.