Pretty much all websites these days have a login function. Even if they work when browsing anonymously, there is usually an option to become a member or something similar. This means that these websites have some concept of identity to tell their visitors apart. In other words – if you are tasked with building a website, it is likely that you will need to deal with identities as well. The thing is, identity can be hard to get right and the consequences of getting it wrong can be less than fun. In this chapter, we will dive into the basics of identity in ASP.NET 5.
We will cover the following topics in this chapter:
- Understanding authentication concepts
- Understanding authorization concepts
- The role of middleware in ASP.NET and identity
- OAuth and OpenID Connect basics
- Integrating with Azure Active Directory
- Working with federated identity