❔ Getting Identity from [Authorize]
Hey there, since i'm using [Authorize] i thought i should be able to get UserID from
var userId = HttpContext.User.FindFirstValue("nameid");
But userId keeps returning null.
For context, this is how i build the claims in my AuthService
var userId = HttpContext.User.FindFirstValue("nameid");
But userId keeps returning null.
For context, this is how i build the claims in my AuthService