Open adeinega opened 1 year ago
I'm honestly not sure how much useful behaviour can really be dictated about invalid_client
errors.
I wonder if there are any clients that attempt to parse the WWW-Authenticate header and try a different authentication mechanism? The clients I'm aware of all require the client authentication to be explicitly configured.
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-1-09#section-3.2.3.1 says that
I am not so sure if it's possible to indicate HTTP authentication schemas for _private_keyjwt and _client_secretjwt client authentication types.
This text also indicates that multiple authentication schemas are supported. Thus, does the authorization server need to specify multiple WWW-Authenticate headers, say "WWW-Authenticate: Basic" and "WWW-Authenticate: Bearer"?
It would be great to clarify these nuances.