Generating OAuth Credentials
Create a Google Cloud Project here!
In your Dashboard, go to APIs & Services, and click on Credentials.
Create a Project for the Partnership Configuration!
Please also make sure you have a configured OAuth Consent Screen, with External User Type, and Published.
After you create the project + set up the OAuth Consent Screen, Click "+ Create Credentials" and begin steps to create an OAuth Client ID.
Mark the Application type as "Web Application".
Add the Merge Redirect URI as "https://app.merge.dev/oauth/callback".
When you click "CREATE" you will see a screen that shows the OAuth Client ID and Secret for your account. This will need to be inputted into your Google Workspace Partner Configuration here.
Notes:
Please confirm that the Admin SDK API is enabled. This can be found in APIs & Services --> Enabled APIs & Services
In your Google Admin account (admin.google.com),
Go to API Access Control and the Settings section,
Ensure the "(Default) Allow users to access any third-party apps" option is selected.
From there you should see the Merge app show up under the "Accessed Apps" list.
Please confirm you have Admin access
Please confirm your OAuth Consent Screen is "Published" and "External" user type
The standard scopes that you should set on the Google Workspace side are the following:
If you'd like Read-only scopes, you can use these: