IdentityServerImageGallery
IdentityServerImageGallery copied to clipboard
How to use IdentityServer 4.x with an ASP.NET Core app
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.pfxcertificate file inTrusted Root Certification Authorities/Certificates-> All tasks -> import. -
First open the
src\IDP\DNT.IDPfolder and then run the following files:- _0-restore.bat
- _1-dotnet_run.bat
-
Then open the
src\WebApi\ImageGallery.WebApi.WebAppfolder and run the following files:- _0-restore.bat
- _1-dotnet_run.bat
-
Finally open the
src\MvcClient\ImageGallery.MvcClient.WebAppfolder and run the following files:- _0-restore.bat
- _1-dotnet_run.bat
-
Now to browse the application, navigate to
https://localhost:5001/and useUser 1andpasswordto login.