I have enabled Google Auth only within my asp.net mvc 5 app.
I see that when I am redirected to googles auth screen I am asking for permission to view the users name and email address. I then return from Google, log in, and name my new user.
I have obviously asked for permission to view the email address, but by default this is not stored. How would I store this in the users table?
I have tried editing the options in startup.auth, but there aren't any pertaining to the email. When doing this via oAuth you manually ask for it. I just don't know where exactly I should be asking for the email address...
Also how would I go about asking for their google account picture?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…