Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Incorrect handler delegation in OpenIdConnectAuthenticationHandler.InvokeReplyPathAsync #167

Closed
@kevinchalet

Description

@kevinchalet

Looks like your new monster has been released too quickly in the wild 😄 😆

An invalid scheme is used in OpenIdConnectAuthenticationHandler.InvokeReplyPathAsync and makes the OIDC client middleware totally buggy because it cannot delegate the principal persistence to the cookie middleware. You should use Option.SignInScheme instead.

https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNet.Authentication.OpenIdConnect/OpenidConnectAuthenticationHandler.cs#L569

(you should also fix the file name)

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