This sample SP has been retired. It was used for early prototyping for integrations with login.gov and has not been maintained. It has confirmed vulnerabilities and should not be used for production itegrations.
For maintained examples of integrations with login.gov please refer to:
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 login.gov developer guide using private_key_jwt
. All of the authentication logic is in the account controller.
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 login.gov IdP in our integration environment.
See CONTRIBUTING for additional information.
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.