/IdentityServerImageGallery

How to use IdentityServer 4.x with an ASP.NET Core app

Primary LanguageC#Apache License 2.0Apache-2.0

IdentityServer Lab

This project is a collection of tips and tricks about how to use IdentityServer 4.x with an ASP.NET Core app.

How to run it

  • Install the src\IDP\DNT.IDP\wwwroot\app_data\idp.pfx certificate file in Trusted Root Certification Authorities/Certificates -> All tasks -> import.

  • First open the src\IDP\DNT.IDP folder and then run the following files:

    • _0-restore.bat
    • _1-dotnet_run.bat
  • Then open the src\WebApi\ImageGallery.WebApi.WebApp folder and run the following files:

    • _0-restore.bat
    • _1-dotnet_run.bat
  • Finally open the src\MvcClient\ImageGallery.MvcClient.WebApp folder and run the following files:

    • _0-restore.bat
    • _1-dotnet_run.bat
  • Now to browse the application, navigate to https://localhost:5001/ and use User 1 and password to login.