Implementing authentication
There are a lot of built-in functionalities when it comes to authentication. The easiest way to achieve authentication is to just select an authentication option when you create a project.
We need to implement authentication separately for the Blazor Server project and the Blazor WebAssembly project because they work a bit differently.
But there are still things we can share between these two projects first we need to setup Auth0.
Setting up Auth0
Auth0 is a service that can help us with handling our users, there are many different services like this but Auth0 is the one that seems to be a very good service to use.
We can connect one or many social connectors which will give our users the ability to login in with Facebook, Twitter, Twitch, or whatever we add to our site.
Even though all of this can be achieved by writing code ourselves integration like this is a great way to add authentication fast and also get a very powerful solution.
Auth0 is free for up...