Skip to main content
net7.0

ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/ab1f1c636afa3a6607f2d67bc387b586596d1d38

Published
Jul 12, 2022
4y ago
Total Downloads
1.4B
1,362,566,926

Install

dotnet add package Microsoft.AspNetCore.Authentication.JwtBearer --version 7.0.0-preview.6.22330.3
ProductVersions
.NET
net7.0

Changes from Previous Version

No structural changes between v7.0.0-preview.5.22303.8 and v7.0.0-preview.6.22330.3.

Adoption Assessment

Resource APIs that need standards-based token validation and policy-driven authorization.

Security Guide
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Editorial Note: JWT bearer authentication middleware for validating access tokens in ASP.NET Core APIs. Trade-off: You still need robust issuer configuration, key rollover handling and defense-in-depth authorization rules.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.