On this page
Add user authentication and Okta Resource Management to your ASP.NET Core app
Get started with ASP.NET Core + Okta
These resources walk you through adding user authentication to your ASP.NET Core app in minutes.
Integrate with Okta using the Okta-hosted Sign-In Widget
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.
Integrate with Okta using embedded Sign-In Widget and SDKs
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:
Identity Engine .NET SDK (opens new window)
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)
Other Classic Engine .NET libraries
- 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:
Sign users in to your web app using the redirect model
Embedded SDK and Sign-In Widget sign-in guide:
Get set up with Identity Engine sample apps and embedded use cases
- 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.