There are several different ways to authenticate an application user in the .NET environment. The decision to use any partiular type of authentication is based on the application requirements and limitations.
Using OAuth, Individual Accounts Identity User, Custom Database Tables are all valid approaches to register, login and logout or Authenticate a user.
Implementing Authentication using Jason Web Tokens is particularly popular where the Frontend and Backend are deployed on different servers.
An authentication state provider maintains the authentication state of the user. As all the information required for authentication is embedded with the jwt and is sent with each Http request, the need to maintain the session state of each user is eliminated.
Using jwt authentication is a good choice for Blazor Web Assembly as Frontend and .Net Web API as Backend Applications with the help of Cross Origin Resource Sharing(CORS)