User.Identity.Name is null for Blazor Wasm hosted in asp.net core
User.Identity.Name is null for Blazor Wasm hosted in asp.net core. There is no such claim as name or email. I'm using default template of Visual Studio. services.AddIdentityServer().AddApiAuthorization<ApplicationUser, ApplicationDbContext>(); services.AddAuthentication().AddIdentityServerJwt(); Am I missing something? Let me know if you need more…