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.

Implement the hybrid flow, unify code and authorization flows #456

Closed
@Tratcher

Description

@Tratcher

We don't really implement the hybrid flow, we just do the implicit flow and then fire AuthorizationCodeReceived at the end and let you do it yourself. Using AuthorizationCodeReceived here is confusing as it fires in a different order than it would in the code flow, and means something different. It looks like we should just implement the hybrid flow, and do so before doing all of the token validations.

I think we could unify HandleCodeOnlyFlow and HandleIdTokenFlows by doing things in the following order:

  1. check for a code, redeem it.
  2. validate the authorization and token responses.
  3. get claims from the user endpoint.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions