Chapter 8: Authentication and Authorization
In this chapter, we will learn how to add authentication and authorization to our blog, because we don't want just anyone to be able to create or edit blog posts.
Covering authentication and authorization fully would itself take a whole book, so we will keep things simple here. The goal of this chapter is to get the built-in authentication and authorization functionalities working, building on the already existing functionality that's built in to ASP.NET. That means that there is not a lot of Blazor magic involved here; there are a lot of resources that already exist that we can take advantage of.
Almost every system today has some way to log in, whether it is an admin interface (like ours) or a member login portal. There are many different login providers, such as Google, Twitter, and Microsoft. We can use all of these providers since we will just be building on already existing architecture.
We will keep things simple...