I have a Blazor client-side (WASM) application, and am following this guide: Call Protected APIs from a Blazor Web App
Both my Blazor app and API are secured with Auth0. In my Blazor app, I can successfully log in. However, I then want to use my logged in session to call the API. But whatever I do, I always get a 401 error. If I just log all my claims like this:
I get this output:
If I turn off authentication in my API, and check the output:
Access token is still empty. What’s going on? Where’s my access token?