Relative Content

Tag Archive for c#asp.net-core.net-8.0openiddict

Sending an access_token

I try to send request from my bff server to my protected api.
The API needs an access token for authentication. I split the request using HttpClientFactory. I’m setting the access token in httpClient.DefaultRequestHeaders.Authorization. But when the API accepts the request, an error is displayed: