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

Implement a new client authentication method negotiation logic and introduce mTLS support in the client stack #2187

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

kevinchalet
Copy link
Member

Fixes #2186.

This PR completely revamps how client authentication is implemented in the OpenIddict client by adopting the same negotiation logic that allows controlling what grant_type/response_type/response_mode/code_challenge_method is used for authorization or token requests.

It also implements complete tls_client_auth and self_signed_tls_client_auth support in the OpenIddict client for all endpoints (device authorization, token, introspection and revocation). It also implements mTLS support for userinfo requests, since it is required to support servers that issue certificate-bound access tokens.

Note: for consistency, mTLS was also added in the validation stack for introspection requests.

@kevinchalet kevinchalet added this to the 6.0.0-preview1 milestone Sep 19, 2024
@kevinchalet kevinchalet self-assigned this Sep 19, 2024
@kevinchalet kevinchalet merged commit 9f613b1 into openiddict:dev Sep 19, 2024
6 checks passed
@kevinchalet kevinchalet deleted the tls_client_authentication branch September 19, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce mTLS support in the client stack
1 participant