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

Published
Sep 14, 2022
4y ago
Total Downloads
1.4B
1,362,566,926

Install

dotnet add package Microsoft.AspNetCore.Authentication.JwtBearer --version 7.0.0-rc.1.22427.2
ProductVersions
.NET
net7.0

Changes from Previous Version

No structural changes between v7.0.0-preview.7.22376.6 and v7.0.0-rc.1.22427.2.

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.