Hi all, I tried configuring Google Workspace SSO with a JSON key, but I keep getting an “Invalid Input” error. Any ideas?
- Home
- Hexnode Integrations
- Google workspace configuration error
Google workspace configuration errorSolved
Tags
Replies (4)
Hey @famk_e , thanks for reaching out.
Make sure the email you entered in the Google Workspace Admin Email field has Super Admin privileges in the Google Admin Console. A standard user or a regular “Admin” role often isn’t enough.
I’ve given the correct email with Super Admin privileges, and the JSON key was created properly, but I’m still getting the same error.
Understood. In that case, the issue might be with the OAuth scopes you provided under API client authorization in the Google Admin Console. These scopes are tied to the client ID you copied from the JSON file. You need to provide the OAuth scopes separated by commas, as even a typo or missing comma will cause the handshake to fail. You can copy and paste the following scope links exactly as shown:
- https://www.googleapis.com/auth/admin.directory.user– To sync individual users.
- https://www.googleapis.com/auth/admin.directory.group – To sync user groups.
- https://www.googleapis.com/auth/admin.directory.domain – To fetch the domain.
Regards,
Simon Scott
Hexnode UEM
Ah, now I fixed the error! The issue was with the scopes.
Thanks, @simon_scott