IdentityServer4.Admin icon indicating copy to clipboard operation
IdentityServer4.Admin copied to clipboard

AuthenticationScheme: "oidc" was challenged.

Open senzacionale opened this issue 2 years ago • 0 comments

I can log in to admin locally but not on docker behind CloudFlare

[2022-06-15T12:39:07.1355220+00:00][INFO][19][Microsoft.AspNetCore.Authorization.DefaultAuthorizationService] Authorization failed. "These requirements were not met:\nRolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles: (Admin)" [2022-06-15T12:39:07.6528419+00:00][INFO][3][Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler] AuthenticationScheme: "oidc" was challenged.

Any solution for this?

senzacionale avatar Jun 15 '22 13:06 senzacionale