On this page
Add user authentication and Okta Resource Management to your ASP.NET Core app
These resources walk you through adding user authentication to your ASP.NET Core app in minutes.
These SDKs help you integrate with Okta by redirecting to the Okta Sign-In Widget using OpenID Connect (OIDC) client libraries.
ASP.NET Core redirect authentication sample app (opens new window): See Okta-Hosted Login (opens new window) for a redirect configuration.
These SDKs help you integrate with Okta to build your own fully-branded authentication by embedding an Okta Sign-In Widget and/or SDK.
Okta Identity Engine:
Okta Classic Engine:
- The Okta .NET Authentication SDK (opens new window) is useful if you can't use OIDC and need your server-side code to interact with the Authentication API for handling the sign-in flow.
- Okta's Okta ASP.NET Core OIDC middleware integration (opens new window) makes it easy to add a sign-in flow to your ASP.NET Core applications and protect your Web APIs.
- Okta ASP.NET Core OIDC integration on NuGet (opens new window)
- The Okta Management SDK for .NET (opens new window) uses .NET Standard and works with both .NET Framework and .NET Core. It's helpful to work with the Okta Management API to manage users, groups, apps, and so on, on the fly.
- The Okta Xamarin SDK (opens new window) follows current best practice for native apps using OIDC and the Authorization Code flow + PKCE.
Okta-hosted Sign-In Widget guide:
Embedded SDK and Sign-In Widget sign-in guide:
- Protect your API endpoints
- Manual JWT validation in .NET
- Add an identity provider (includes social login)
- Validate access tokens
- Validate ID tokens
Note: Browse our recent ASP.NET Core Developer Blog posts (opens new window) for further useful topics.