# How to map users' roles or groups from Google for use in Auth0?

**URL:** <https://community.auth0.com/t/how-to-map-users-roles-or-groups-from-google-for-use-in-auth0/133861>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [May 10, 2024, 3:36pm UTC](https://community.auth0.com/t/how-to-map-users-roles-or-groups-from-google-for-use-in-auth0/133861 "2024-05-10T15:36:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 16, 2024, 2:42pm UTC](https://community.auth0.com/t/how-to-map-users-roles-or-groups-from-google-for-use-in-auth0/133861/6 "2024-05-16T14:42:49Z")

</div>

I was looking further into it @arilsonbarcelos , and actually the upstream IdP’s scopes should be under:

```auto
“upstream_params”: {"connection_scope": {
        "value": "https://www.googleapis.com/........"
      }}

```

> **[Add Scopes/Permissions to Call Identity Provider APIs](https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp)**
>
> Describes how to add scopes to your IdP connection.

Also, make sure that the application registered on the Google side has appropriate scopes allowed.  
We have a Knowledge Solution for analogic use-case, maybe you find it helpful for general steps: [Accessing Additional Scopes in Google Social Connection](https://community.auth0.com/t/accessing-additional-scopes-in-google-social-connection/118902)

---

_[View the full topic](https://community.auth0.com/t/how-to-map-users-roles-or-groups-from-google-for-use-in-auth0/133861)._
