Auth0 Home Blog Docs

Retrieving custom user attributes from Google sign in


#1

Hi,

I’ve set up some custom attributes on my Google user’s according to these docs. I am now trying to retrieve these attributes with Auth0 when I sign in using my Google account in a web app.

I have tried adding scopes for metadata but I can’t seem to get anything back. Is this possible or am I barking up the wrong tree?

I couldn’t find much documentation on this so if anyone could point me in the right direction it would be appreciated.

Thanks in advance.


#2

Did you see this reply to a similar question?


#3

Thanks for the reply, that makes things a little clearer.

So is the only solution to create a custom rule that will query the Google user API to retrieve these custom attributes or am I over complicating it?


#4

As I understand what @jmangelo is saying in that post, that should work for you.