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.

[Authorize] fails for OpenIdConnect #139

Closed
@brentschmaltz

Description

@brentschmaltz

There are two problems:

  1. OpenIdConnectHandler always expects 'Challenge' to be non-null. A change in the runtime requires that this cannot be expected.
  2. OpenIdConnectHandler sets the AuthenticationTicket.Principal property. Later, the runtime should check if AT.Identities OR AT.Principal is set.

Without these fixes

  1. [Authorize] attribute will have no effect for OIDC code.
  2. Users who manage SSO, will never see the identity created by OIDCHandler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions