Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1006 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 1006 Bytes

Secure an ASP.NET Core application using OIDC

This repo demonstrates how you can use OIDC with ASP.NET Core apps. This app is not for production use and serves as an example of integration.

Develop

Prerequisites

  1. Create an OAuth2 client

  2. Set the ID and secret of the created client in appsettings.json:

    {
        "OpenIdConnect": {
            "ClientId": "",
            "ClientSecret": ""
        }
    }

Sources