skoruba / IdentityServer4.Admin

The administration for the IdentityServer4 and Asp.Net Core Identity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AuthenticationScheme: "oidc" was challenged.

senzacionale opened this issue · 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?