Learn about syncing your user list with Google Workspace.
This guide outlines how to synchronize your application’s Google Workspace directories.
To synchronize an organization’s users and groups provisioned for your application, you’ll need to provide the organization with:
This is available in your Endpoint’s Settings in the WorkOS Dashboard.
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 “Manually Configure Directory.”
Input the organization’s name and domain, and select “Google Workspace” from the “Directory Type” dropdown.
Then, click “Create Directory”.
Upon creation, your endpoint will have a setup URL of the form:
Forward this URL to the organization.
Have the organization choose Google as a provider and follow the Google prompts to authenticate with admin credentials.
Changes will appear live in the Directory Sync portal under the “Users” tab:
A detailed guide to integrate the WorkOS API with your application can be found here
Google Workspace is an all or nothing scenario. You can't selectively sync certain groups. It is recommended to do filtering on your end based on groups assigned to the users if this is needed.
Google Workspace directories poll every 30 minutes starting from the time of the initial sync