Blazor WASM project can't get access token for API call

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:

afbeelding

I get this output:

afbeelding

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?

Did you ever figure this out? I’m having the same issue and don’t like the proxy idea from Chiarella in this article: