Hello… So my app was working smoothly in .net core 1.1, and i could get the users details as i wished. I used this code to do that:
//Get unique account number
result.UserAcctNo = user.Claims.FirstOrDefault(c => c.Type == ClaimTypes.NameIdentifier).Value; result.Name = user.Identity.Name; result.EmailAddress = user.Claims.FirstOrDefault(c => c.Type == ClaimTypes.Email)?.Value; result.ProfileImage = user.Claims.FirstOrDefault(c => c.Type == "picture")?.Value;
Now that i have my .NET Core app running in 2.0 - everything seems to work fine - I can login with my social providers, and verify the info I want to capture is on the Auth0 dashboard.
But the issue is when I debug. I cannot find the claims from the ClaimsPrincipal like I did in .NET Core 1.1. So is there a new way to query this information? I cant find anything in the docs.
Thanks for any help.