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

Support for client certificates in ClientCredentialsTokenManagement #1518

Open
JotaCe14 opened this issue Dec 13, 2024 · 0 comments
Open

Support for client certificates in ClientCredentialsTokenManagement #1518

JotaCe14 opened this issue Dec 13, 2024 · 0 comments

Comments

@JotaCe14
Copy link

Which version of Duende.AccessTokenManagement are you using?

3.0.1

Which version of .NET are you using?

8.0

Describe the bug

I need to send a client certificate in my requests to get access tokens.

To Reproduce

Add AddClientCredentialsTokenManagement to services.
Add AddClient to ClientCredentialsTokenManagementBuilder.
Try to add a client certificate to the client.

Expected behavior

I'd like to have an option to add a client certificate to the access token clients similar to:

var handler = new HttpClientHandler();
var certificate = GetCertificate();
handler.ClientCertificates.Add(certificate)
var client = new HttpClient(handler);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant