Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google does not return photoUrl #781

Open
manhbui21 opened this issue Jul 2, 2024 · 8 comments
Open

Google does not return photoUrl #781

manhbui21 opened this issue Jul 2, 2024 · 8 comments

Comments

@manhbui21
Copy link

manhbui21 commented Jul 2, 2024

Hey there, I am trying to get token from google and it seems I'm missing the photoUrl. Any suggestions?

I'm using version 2.2.0 with Angular 17 and this is what I get from them.

email: "classified", // I'm using Gsuite mail from my organization
firstName: "classified",
id: "classified",
idToken: "classified",
lastName: "classified",
name: "classified",
photoUrl: undefined, // I'm missing this one
provider: "GOOGLE"

Thanks for help!

@maxnag
Copy link

maxnag commented Jul 5, 2024

Can't confirm!
I got the latest version and I can see the photo.

@manhbui21
Copy link
Author

@maxnag I have just tried again and still not getting the photo in the response.
image
Could you please tell me if there is any related configuration or information that I should take a look for?

@maxnag
Copy link

maxnag commented Jul 5, 2024

please provide the configuration of your service provider for Google.

@manhbui21
Copy link
Author

@maxnag could you tell me the name or give a screenshot of the configuration in Google cloud project? I'm new for GCP that I don't know what configuration I should provide

@maxnag
Copy link

maxnag commented Jul 5, 2024

@manhbui21 Here is mine configuration for Angular 17.3
image

Here from the Google console

image

The result:

image

@manhbui21
Copy link
Author

manhbui21 commented Jul 7, 2024

@maxnag Here is my configuration for Angular 17.3.3 (I just added "scopes" as yours)
image
From Google console
image
The result doesn't change

@maxnag
Copy link

maxnag commented Jul 7, 2024

@manhbui21 I did what I can, sorry

@manhbui21
Copy link
Author

@maxnag thank you for helping me anw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants