↓ Skip to main content

ASP.NET Identity

Google authentication get email from ASP.NET Identity

·1 min
So how do you obtain the external user email (the one authentication by google), first name and name in an ASP.NET website using ASP.NET Identity? var email = externalIdentity.FindFirstValue(ClaimTypes.Email); and here is getting the type