1 Answer
- Newest
- Most votes
- Most comments
0
Hey,
I am not sure that gets populated but you could check this:
_httpContextAccessor.HttpContext.User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.GivenName)?.Value;
This example will get you the first name but you should be able to see all the claims in that User.Claims collection
Thanks
answered a year ago
Relevant content
- asked 3 years ago
- asked 12 days ago
- asked 8 months ago
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago