Auth0 Home Blog Docs

Missing google gender e birthdate into public profile

Hello,

I’m trying to get gender and birthdate from my google connection.
I set my scope with ‘openid profile’ and I’m able to obtain information such as family_name, given_name and so on, but I can’t get values for gender and birthdate. Inside my account this two field has public visibility.

Unfortunately not a complete answer yet, but gender and birthdate are definitely not part of the standard OpenID Connect claims (returned when asking for openid profile) supported by accounts.google.com, which can be checked by looking at:

https://accounts.google.com/.well-known/openid-configuration

so it requires an additional API, though I’m not quite sure at the moment, which one that would be, especially because the Google+ API got deprecated recently; in particular https://developers.google.com/+/web/api/rest/latest/people/get.

Related threads (without a solution that works today):

1 Like