Skip to content

okta/samples-aspnetcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
Oct 25, 2024
Mar 10, 2025
Feb 13, 2024
Feb 13, 2024
Aug 17, 2020
Sep 26, 2018
May 29, 2019
May 31, 2019
Aug 27, 2018
Jul 22, 2024

Repository files navigation

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.