Skip to content

ASP.NET Core OIDC/JWT Handlers should not have a direct dependency on the AAD JWT Library #36175

Open
@leastprivilege

Description

@leastprivilege

Is your feature request related to a problem? Please describe.

Right now, ASP.NET Core has a direct dependency on the AAD JWT library (token handler, token validation parameters etc). This library is primarily driven by its sponsor - the AAD team.

There are more JWT options in .NET - being able to plug in a different JWT implementation would be beneficial for the .NET ecosystem.

Describe the solution you'd like

ASP.NET Core should own its main JWT validation abstractions and rather ship with an by-default integration with the preferred JWT library. If that is the "in-house" one - fine. But it should be possible to plug in different implementations - similar to the DI system.

Additional context

AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#1687 (comment)

AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#1574

AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#1516

https://twitter.com/ycrumeyrolle/status/1431544530357075968

Metadata

Metadata

Assignees

Labels

Needs: DesignThis issue requires design work before implementating.area-authIncludes: Authn, Authz, OAuth, OIDC, Bearer

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions