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/e77cb01b5529c137130757859f09f892dbdd2436

Published
May 10, 2022
4y ago
Total Downloads
1.4B
1,362,566,926

Install

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

Changes from Previous Version

No structural changes between v7.0.0-preview.3.22178.4 and v7.0.0-preview.4.22251.1.

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.