Skip to content

okta/samples-aspnet

Repository files navigation

ASP.NET MVC 4.x Sample Applications for Okta

This repository contains several sample applications that show you how to integrate various Okta use-cases into your ASP.NET MVC 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 MVC 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 MVC application. Traditional web applications with server-side rendered pages.
Primary Authentication with Okta.Auth.Sdk An application server that uses a self-hosted login page and Okta.Auth.Sdk on your ASP.NET MVC 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 MVC 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.