This project is a collection of tips and tricks about how to use IdentityServer 4.x with an ASP.NET Core app.
-
Install the
src\IDP\DNT.IDP\wwwroot\app_data\idp.pfx
certificate file inTrusted 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 useUser 1
andpassword
to login.