Automatically Attaching Access Token to HTTP Client in Blazor wasm
问题 I am using an open id connect identity provider for my Blazor wasm application and would like an access token to be attached to the http client as described in this article. However, whenever I create the http client and try to use it I am getting an AccessTokenNotAvailableException, even when logged in. Here is what I have: In Program.cs // Add service for CustomAuthorizationMessageHandler builder.Services.AddScoped<CustomAuthorizationMessageHandler>(); // Http client for requests to API