Does anybody have resources to get the additional OAuth information {first name, last name, profile picture} from when using webforms from this template? https://github.com/rustd/ASPNETTemplates
I have searched for hours on trying to find examples and nothing has shown to work. I tried adding the extradata parameter but that errors
//Dictionary<string, string> googleExtraData = new Dictionary<string, string>
// {
// {"email", WellKnownAttributes.Contact.Email},
// {"country", WellKnownAttributes.Contact.HomeAddress.Country},
// {"firstName", WellKnownAttributes.Name.First},
// {"lastName", WellKnownAttributes.Name.Last}
// };
//googleExtraData.Add("Icon", "GoogleLogin.png");
OpenAuth.AuthenticationClients.AddGoogle();