Getting Started with Duende IdentityServer (2/2)
In the second part of this tutorial, Kevin guides you in the setup of two applications, an instance of a REST service and a website. We use Duende IdentityServer to help protect the web service from unauthorized access. A client uses IdentityServer to get a token that the service requires and checks before allowing access.
Once the service is working, we then write an MVC front end for that service. Initially, the MVC application use IdentityServer to get an access token to allow the application access to the REST service. We then show how to provide a user login through IdentityServer that the MVC application takes advantage of. Once a user is authenticated, we show how to use that user’s access token to provide access to the REST service.
Code: https://github.com/kevinrjones/SettingUpIdentityServer