⚠️ Archived Repository NoticeThis repository is no longer maintained and has been archived by Okta.
No further updates, fixes, or support will be provided.
For current solutions and actively maintained projects, please visit https://github.com/okta.
This repository contains several sample applications that show you how to integrate various Okta use-cases into your ASP.NET Core applications.
Please find the sample that fits your use-case from the table below.
Sample | Description | Use-Case |
---|---|---|
Okta-Hosted Login | An application server that uses the hosted login page on your Okta org, then creates a cookie session for the user in the ASP.NET Core application. | Traditional web applications with server-side rendered pages. |
Resource Server | This is a sample API resource server that shows you how to authenticate requests with access tokens that have been issued by Okta. | Single-Page applications. |
Self-Hosted Login | An application server that uses a self-hosted login page on your ASP.NET Core application. | Traditional web applications with server-side rendered pages. |
Social Login | An application server that uses a self-hosted login page with multiple login options on your ASP.NET Core application. | Traditional web applications with server-side rendered pages. |
Sample | Description | Use-Case |
---|---|---|
Resource Server | This is a sample API resource server that shows you how to authenticate requests with access tokens that have been issued by Okta. | Single-Page applications. |
Self-Hosted Login | An application server that uses a self-hosted login page on your ASP.NET Core application. | Traditional web applications with server-side rendered pages. |
Sample | Description | Use-Case |
---|---|---|
Okta-Hosted Login | An application server that uses the hosted login page on your Okta org, then creates a cookie session for the user in the ASP.NET Core application. | Traditional web applications with server-side rendered pages. |
Self-Hosted Login | An application server that uses a self-hosted login page on your ASP.NET Core application. | Traditional web applications with server-side rendered pages. |
We're happy to accept contributions and PRs! Please see the contribution guide to understand how to structure a contribution.