I've fixed moving httpClient.DefaultRequestHeaders.Authorization= new AuthenticationHeaderValue("Bearer", token) from GetAuthenticationStateAsync() just before any request made by HttpService class
i see the same as my old code in may examples from google,one is
there
Member
11 Points
73 Posts
Re: No Bearer token in Request Headers
Oct 23, 2020 02:43 PM|moris27|LINK
I've fixed moving httpClient.DefaultRequestHeaders.Authorization= new AuthenticationHeaderValue("Bearer", token) from GetAuthenticationStateAsync() just before any request made by HttpService class
i see the same as my old code in may examples from google,one is there
thanks