An OpenID Connect client for ASP.NET MVC
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
ASPNET OIDC Update for Apr 10, 2018
.gitattributes Add .gitignore and .gitattributes. Jun 23, 2017
ASPNET OIDC.sln Add project files. Jun 23, 2017 Update for Apr 10, 2018

ASP.NET MVC OpenID Connect Client

This web application is a demonstration of how to implement OpenID Connect in ASP.NET MVC. It was built using Visual Studio Community 2017 with the "ASP.NET Web Application (.NET Framework) / MVC" template, following our developer guide using private_key_jwt. All of the authentication logic is in the account controller.

Running the app

Open the solution in Visual Studio, click the run button with "IIS Express (Microsoft Edge)" (same as pressing F5), and a new browser window will open at http://localhost:50764/. Click "Log in »" on the home page to authenticate with the IdP in our integration environment.


See CONTRIBUTING for additional information.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.