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

migrating-owin-authentication-handler-to-core

Migrates a custom Katana/OWIN authentication handler to an ASP.NET Core authentication scheme. Use when an application defines its own scheme by deriving from the OWIN AuthenticationHandler base class in Microsoft.Owin.Security.Infrastructure — usually with its own AuthenticationMiddleware subclass and IAppBuilder extension — and the equivalent…

Full publisher description

Migrates a custom Katana/OWIN authentication handler to an ASP.NET Core authentication scheme. Use when an application defines its own scheme by deriving from the OWIN AuthenticationHandler base class in Microsoft.Owin.Security.Infrastructure — usually with its own AuthenticationMiddleware subclass and IAppBuilder extension — and the equivalent ASP.NET Core handler must be registered with AddScheme. Covers AuthenticateCoreAsync, ApplyResponseChallengeAsync, ApplyResponseGrantAsync, InvokeAsync, custom AuthenticationType values, AuthenticationMode Active versus Passive, and per-scheme options binding. Triggers for "custom OWIN authentication handler" or "custom authentication middleware". Not for stock OWIN cookie, OAuth bearer, or OpenID Connect middleware. Not for an endpoint that trades an external workload token for an application credential — trusted publishing, workload identity federation, OIDC token exchange — even behind a custom handler; use 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-authentication-handler-to-core/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.