Skip to content

Cannot log in to this site #836

Open

Description

@markjbrown

I get repeatable errors trying to authenticate. This is what I see in the logs.

What is most strange is that when I first fired up the site it worked fine. Now I can't get it to work at all and no idea how to fix it. I even tried redploying but no go.

stdout F fail: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler[52]
stdout F Message contains error: 'invalid_request', error_description: 'Invalid redirect_uri', error_uri: 'error_uri is null', status code '400'.
stdout F fail: Microsoft.AspNetCore.Server.Kestrel[13]
stdout F Connection id "0HNCJT5FO1KC4", Request id "0HNCJT5FO1KC4:00000007": An unhandled exception was thrown by the application.
stdout F Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Message contains error: 'invalid_request', error_description: 'Invalid redirect_uri', error_uri: 'error_uri is null'.
stdout F at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.GetPushedAuthorizationRequestUri(HttpResponseMessage parResponseMessage)
stdout F at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.PushAuthorizationRequest(OpenIdConnectMessage authorizeRequest, AuthenticationProperties properties)
stdout F at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
stdout F at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
stdout F at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
stdout F at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
stdout F at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.<>c__DisplayClass0_0.<g__Handle|0>d.MoveNext()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions