Awesome
ASP.NET Core Sample Applications for 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.
ASP.NET Core 3.x Samples
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. |
ASP.NET Core 6.x Samples
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. |
ASP.NET Core 7.x Samples
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. |
Contributing
We're happy to accept contributions and PRs! Please see the contribution guide to understand how to structure a contribution.