asp.net core user.identity.name est null

new Claim(JwtRegisteredClaimNames.UniqueName, user.UserName)
Silver