Hi again.
I found some possible references to the matter, I am not quite sure if you have reviewed these yet:
- GitHub - akhanalcs/blazor-api-auth0: Sign in users and call a protected API from a Blazor Server app.
- Use Refresh Tokens in ASP.NET Core Apps
- auth0-aspnetcore-authentication/EXAMPLES.md at main · auth0/auth0-aspnetcore-authentication · GitHub
- auth0-aspnetcore-authentication/EXAMPLES.md at main · auth0/auth0-aspnetcore-authentication · GitHub
You mentioned about trying out our sample app and refresh tokens did not work there either, was the sample app the one references above by any chance?
Also, I noticed that for your options.Audience
you seem to be passing Auth0:Domain
. I am not 100% familiar with .NET or Blazor applications, however, I believe it should be something like options.Audience = Configuration["Auth0:Audience"];
as mentioned in this community post.
Also, are you using a custom API by any chance and are you passing in the correct audience inside your implementation?
Kind Regards,
Nik