Difference in the User ID from api and jwt.io

I have encountered some weird behavior. I have 1 token. When I put this token in jwt.io I’m getting the correct user id in the body. When I try to do same in my program, I’m getting something totally different. I’m using:

 var token = hca.HttpContext.Request.Headers["Authorization"].ToString().Replace("Bearer ", "");
            var handler = new JwtSecurityTokenHandler();
            var jsonToken = handler.ReadToken(token);
            _userId = hca.HttpContext.User.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier)?.Value;

Both jsonToken and _userId are getting the same value for the userId but it is a wrong value.

How do I get the correct value?
Please advice

Hey there!

Tagging jwt.io maintainer for visibility: @Sambego