asp.net core user.identity.name is null

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