Skip to content

Finally a chance to get rid of claim type mappings! #22764

Closed
@leastprivilege

Description

@leastprivilege

With the 6.x release of the MS JWT handler, the mapping of artisanally crafted, spec-compliant claim types to their WS-* counterparts from the late 90ies is finally gone!

That means you can now get rid of this behavior in your OIDC and JWT handlers for v5! That's great!

I can totally understand that this is a breaking change, and you probably want to keep the wrong behavior by default for a little while. But maybe a simple opt-out switch is now possible?

e.g.

// behave like a claims-based gentleman (defaults to false though)
options.LeaveMyClaimTypesAloneFfs = true;

Alternatively maybe

options.ClaimsActions.Clear();

Also imagine how many backlog issues you can finally close that are related to that problem. It's a win-win.

Metadata

Metadata

Assignees

Labels

✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!DoneThis issue has been fixedarea-authIncludes: Authn, Authz, OAuth, OIDC, Bearer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions