Avoiding AccessTokenNotAvailableException when using the Blazor WebAssembly Hosted template with individual user accounts
Read OriginalThis technical article explains a common issue in Blazor WebAssembly Hosted apps with Individual user accounts, where the default HttpClient throws an AccessTokenNotAvailableException when calling unprotected endpoints. It details the cause in the BaseAddressAuthorizationMessageHandler and provides a solution for configuring a separate HttpClient for unauthenticated API calls.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser