AccessTokenHandler does not support sync methods #28
Labels
area/access-token-management
Issues related to Access Token Management
impact/non-breaking
The fix or change will not be a breaking one
priority/2
High
Which version of Duende.AccessTokenManagement are you using?
3.0.0
Which version of .NET are you using?
6
Describe the bug
I'm try to use the OpenTelemetryClient from dotnet together with the AccessTokenManagement.
Setup like this:
Later on in my implementation I pass the IHttpClientFactory in my class:
To Reproduce
See the source above. Where the httpClient is created I'm doing a send which does not request tokens. I saw that in the logs.
When I call SendAsync, then the lib is requesting a token.
Expected behavior
Also Send method will request a token.
Additional context
src/Duende.AccessTokenManagement/AccessTokenHandler.cs
Does not override the Send method, but SendAync only.
The text was updated successfully, but these errors were encountered: