# Adding additional scopes to the Google Workspace connection setup

**URL:** <https://community.auth0.com/t/adding-additional-scopes-to-the-google-workspace-connection-setup/91689>\
**Category:** Get Help\
**Tags:** google, enterprise, google-workspace, scopes, permissions, admin, auth0\
**Created:** [October 3, 2022, 11:34am UTC](https://community.auth0.com/t/adding-additional-scopes-to-the-google-workspace-connection-setup/91689 "2022-10-03T11:34:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmitry2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dmitry2/32/34432_2.png) [@dmitry2](https://community.auth0.com/u/dmitry2)\
**Post date:** [October 3, 2022, 11:34am UTC](https://community.auth0.com/t/adding-additional-scopes-to-the-google-workspace-connection-setup/91689/1 "2022-10-03T11:34:26Z")

</div>

Hi!  
I’m trying to implement a Google Workspace connection, with custom scopes. The logic of my application is as follows:  
All users log in through Google Workspace connection, and then there is a separate page for the user with **admin** rights on the site with a button to give the Google app additional rights (organization permissions) to further use _admin refresh token_ to work with google admin sdk api. And I could redirect from this button to the link taken in Google Workspace → Setup, but it seems to contain a static set of scopes that I can’t edit, namely:

- [https://www.googleapis.com/auth/admin.directory.user.readonly](https://www.googleapis.com/auth/admin.directory.user.readonly)
- [https://www.googleapis.com/auth/admin.directory.group.readonly](https://www.googleapis.com/auth/admin.directory.group.readonly)
- email.

However, I also need [https://www.googleapis.com/auth/admin.directory.resource.calendar](https://www.googleapis.com/auth/admin.directory.resource.calendar) permission for my application to work.  
I found that I can edit scope through management api using upstream\_params, but they are acting for all users, but not for the only link from Google Workspace → Setup.  
Is there any way to add this additional scope [https://www.googleapis.com/auth/admin.directory.resource.calendar](https://www.googleapis.com/auth/admin.directory.resource.calendar) to the admin authorization request in Google Workspace?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 10, 2022, 9:18pm UTC](https://community.auth0.com/t/adding-additional-scopes-to-the-google-workspace-connection-setup/91689/3 "2022-10-10T21:18:56Z")

</div>

Hi @dmitry2m,

Welcome to the Auth0 Community!

How are you starting the Admin request? Can you give an example of the request/button you are pressing?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 28, 2022, 8:53pm UTC](https://community.auth0.com/t/adding-additional-scopes-to-the-google-workspace-connection-setup/91689/4 "2022-11-28T20:53:56Z")

</div>

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