Full Stack Web Development

TH17 When Azure AD is Not Enough: Creating a Token Service in ASP.NET Core 3.0

06/13/2019

3:00pm - 4:15pm

Level: Advanced

Roland Guijt

Microsoft MVP, Trainer

A big change in terms of security in ASP.NET Core 3.0 is that Microsoft is including the capability to create your own token service that supports OpenIdConnect. It uses the well-established IdentityServer framework as the basis for that.

A token service enables you to do centralized authentication with single sign-on using industry standards just like Azure AD does. Azure AD is great as long as you don't need customization beyond of what it offers. This is where creating your own comes in.

I'll show you the ins and outs of creating the service but not before I make sure you understand the terminology around it. Once you get the basics we'll get into beyond the basics mode and I'll show you some of the other marvelous things that a custom token service brings.

After this session you're ready to implement a token service in ASP.NET Core. And you will understand how to make us of the more advanced options.

You will learn:

  • Understanding the whats and whys of an OpenIdConnect token service
  • Use the built-in IdentityServer framework to create a custom one
  • Further customize the token service implementing multi-tenancy