{"repo":"curityio/dotnet-openid-connect-webapp","free":true,"listed":false,"github":"https://github.com/curityio/dotnet-openid-connect-webapp","clone":"git clone https://github.com/curityio/dotnet-openid-connect-webapp.git","description":"An example website that implements OAuth 2.0 and OpenID Connect in .NET","language":"C#","stars":10,"topics":["code-example","dotnet","oauth2","openid-connect","website"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Secure a .NET Web App with OpenID Connect A demo web application in .NET, secured using the OpenID Connect protocol. Configure the Application The API uses an appSettings.json file to configure its OpenID Connect details: Configure the Curity Identity Server Before running the app you need to configure an OpenID provider like a local Docker instance of the Curity Identity Server: - Run a local Docker instance. - Configure a client. The configuration uses local example domains for the web application and the Curity Identity Server.\\ To use them, add the following entries to your local computer's hosts file: Run the Example App Ensure that an up to date .NET SDK is installed, then run the example: Navigate to https://www.example.com:5000/. You will be presented with an unauthenticated view. Click on Login to start the OpenID Connect flow. Log in at the Curity Identity Server. The application receives an ID token that it uses to present user data on the screen, and tokens that could be used in upstream requests to some backend API, to access data on behalf of the user. Run a Deployed App To run the app in a Docker container, execute the deployment script: Further Information - See the .NET Website Tutorial for further details on the app's code and configuration. - Please visit curity.io for more information about the Curity Identity Server.","default_branch":null,"files":null,"tree":[],"storefront":"/r/curityio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/curityio/dotnet-openid-connect-webapp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}