Hi,
First of all, apologies for my bad english as I am a french speaker but I will try to do my best.
I’m havind a problem when I deploy my solution, a Blazor WASM hosted to my API. All is working correctly in locally (https://localhost:XXXX) but when I deploy the same solution to https://www.smarterasp.net where I’ve created a temporary host, the Auth0 login is correct but it seems like roles are not present to the returned claims.
Here one of major received errors
Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]
Authorization failed. These requirements were not met:
RolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles: (SuperAdmin)