How do I get the phone number & address from a Google account in Identity Library #60455
Unanswered
DavidThielen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all;
I am using the ASP.NET version 6 Identity Library. I added in logging in using my Google account and that works fine. I now want to add getting the account's phone number and address. This is failing.
In
program.cs
I set:When I go to log in Google does tell me that it wants my phone number and address and let's me decide if I want to pass them. I click the check box for both and submit the form.
Then in
ExternalLogin.cshtml.cs
, in the methodMy google account at https://myaccount.google.com/personal-info does have a phone & address.
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions