From the course: ASP.NET: Security
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Configuring IdentityServer
From the course: ASP.NET: Security
Configuring IdentityServer
- [Narrator] To get started with IdentityServer there are basically three steps you need to do. First of all, we need to install IdentityServer. In our application, we'll go the easy route and we will install identity server directly into our web application. Of course, the long-term goal will be, that we have a kind of single-sign-on mechanism, so that we have several applications, that authenticate against one single source, but for now putting all of this into our application is just the fastest way to success here. We'll need to use the NuGet package manager to install IdentityServer3 into our application, which you'll see in a minute. Once we've done this, we need to configure IdentityServer. We need to define clients, so who's allowed to talk to IdentityServer, who's allowed to authenticate themselves. We need to define users, so we set up users within IdentityServer and something called scopes, which I'll detail in a bit. And once we've done this, and set up IdentityServer…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.