Search
Menu
Search
/
Sign in

G Suite Directory Sync

Learn about syncing your user list with G Suite

IntroductionLink

This guide outlines how to synchronize your application's Google Workspace directories.

To synchronize an Enterprise's users and groups provisioned for your application, you'll need to provide the Enterprise with:

  • An Endpoint that Google will make requests to.

This is available in your Endpoint's Settings.

1
Set up your directory sync endpointLink

Login to your WorkOS dashboard and browse to "Organizations" on the left hand navigation bar.

Select the organization you'd like to enable a Google Directory Sync Connection with.

From the Organization page, select "Add Directory"

Input your Enterprise's name and domain, and select "GSuite Directory" from the "Directory Type" dropdown.

Then, click "Create Connection".

2
Provide the enterprise with a setup URLLink

Upon creation, your endpoint will have a setup URL of the form:https://accounts.google.com/o/oauth2/v2/auth...

Forward this URL to enterprise customers.

3
Authenticate with admin credentialsLink

Have the Enterprise choose Google as a provider and authenticate with admin credentials.

4
Assign users and groups to your applicationLink

Changes will appear live in the Directory Sync portal under the 'Users' tab: