Auth0 Home Blog Docs

Google Suite/Apps additional user informations for rules creation

#1

We connected Google Apps domain successfully. I activate Groups, Is Super User , is suspended and accepted terms options. When I try the connection I successfully get my user info but none of the additional informations. How get infos and which JSON fields are used for that, so I can implement rules that assign scopes to certain group users and reject all suspended users.

Thanks.

#2

The “Try” button on connections (a.k.a. the connection tester) only shows limited information (the claims available in the profile OIDC scope), but it is very likely that more information is given to Auth0 (like the groups and others). To check, pick any user from the Users section of the dashboard and check the “Identity Providers Attributes” pages for the info you are after.

If the additional information is present and you want to make it available to applications, you’ll have to create a rule to add the information as custom claims in the OIDC user profile that the application gets. See https://auth0.com/docs/scopes/current/custom-claims for guidance on how to write such a rule.

1 Like
closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.