Follow these steps to connect Google Workspace via the StackOne Hub successfully.
Navigate to Domains List
Copy Your Domain
Go to Your Google Cloud Console
Navigate to the API Library
Locate the Admin SDK API
Enable the Admin SDK API
Navigate to Admin SDK API Credentials
Create New OAuth Client ID
Enter Application Details
https://api.stackone.com/connect/oauth2/googleworkspace_iam/callback
Copy Application Credentials
Go to OAuth Consent Screen Setup
Select User Type
Enter Application Information
Select Required Application Scopes
https://www.googleapis.com/auth/admin.directory.group.readonly
https://www.googleapis.com/auth/admin.directory.group.member.readonly
https://www.googleapis.com/auth/admin.directory.user.readonly
https://www.googleapis.com/auth/admin.directory.orgunit.readonly
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
Complete Scope Selection
Enter Credentials
Grant OAuth Application Consent