a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

migrating-owin-oauth-to-jwt

Migrates OWIN OAuth bearer authentication and OWIN-hosted custom Entra ID (Azure AD) token validation to ASP.NET Core AddJwtBearer. Covers Microsoft.Owin.Security.OAuth, JsonWebTokenHandler, TokenValidationParameters, ConfigurationManager and OpenIdConnectConfiguration for JWKS caching, AadIssuerValidator, custom IssuerValidator and…

Full publisher description

Migrates OWIN OAuth bearer authentication and OWIN-hosted custom Entra ID (Azure AD) token validation to ASP.NET Core AddJwtBearer. Covers Microsoft.Owin.Security.OAuth, JsonWebTokenHandler, TokenValidationParameters, ConfigurationManager and OpenIdConnectConfiguration for JWKS caching, AadIssuerValidator, custom IssuerValidator and IssuerSigningKeyValidator, EnableAadSigningKeyIssuerValidation, tid/azp allow-lists, and exact #if test-bypass guard preservation. Use when replacing an OWIN bearer path, including custom Katana handlers. Not for a version bump that keeps OWIN, or apps already on ASP.NET Core configuring JWT bearer authentication. Not for an endpoint that trades a caller-supplied external OIDC token for a short-lived application credential after matching its claims against a stored trust policy; that is `migrating-federated-oidc-token-exchange`.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

microsoft/upgrade-agent-plugins

plugins/upgrade-agent/upgrade/dotnet/skills/lazy/libraries/migrating-owin-oauth-to-jwt/SKILL.md

Pinned revision cede9dcfbc09a06f0e63652e64fc7545ce5fe1df

Source checked

Reviewed licence: LicenseRef-Microsoft-Copilot-Modernization-Preview
Repository default at the reviewed revision: Visual Studio development/testing only; preview expiry, confidentiality and no-sharing/distribution restrictions apply. Copilot access has separate terms.

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.