I have Sitecore 9.1.1 installed on Azure, I'm trying to log in but it keeps redirecting to an error page, when I checked the
identityServerAuthority URL I found that it is not working (returning HTTP ERROR 500)
Errors in log file:
AuthenticationScheme: "idsrv" was not authenticated.
Action '"Sitecore.Plugin.IdentityServer.Controllers.AccountController.Login (Sitecore.Plugin.IdentityServer)"' with id '"fdd94ee6-ac7d-427b-a0f4-7f0bbafd474e"' did not match the constraint '"Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint"' 2019-12-30T00:00:54.8056717+00:00 [ERR] (Sitecore STS/RD2818786FC641) Connection id ""0HLS13DEQJHAB"", Request id ""0HLS13DEQJHAB:00000001"": An unhandled exception was thrown by the application. System.InvalidOperationException: No service for type 'Sitecore.Plugin.IdentityServer.SecurityHeadersFilter' has been registered.```