Google Workspace
Connect indox to Google Workspace with a custom SAML app. Read Single sign-on first: it covers the indox side and the requirements referred to below.
You need: a Google Workspace super admin, and an indox business admin. In indox, open Settings → Single sign-on, verify your domain and note the values under Values for your identity provider. The examples use the sign-in name example.
1. Create the custom SAML app
-
In the Google Admin console, go to Apps → Web and mobile apps → Add app → Add custom SAML app.
-
Name it
indoxand press Continue. -
On Google Identity Provider details, press Download Metadata and keep the XML file. Press Continue.
-
On Service provider details:
Google field Value ACS URL the ACS URL, e.g. https://indox.org/accounts/saml/example/acs/Entity ID the Entity ID, e.g. https://indox.org/accounts/saml/example/metadata/Start URL leave empty Signed response checked: Google then signs the response as well as the assertion, which indox requires Name ID format EMAILName ID Basic Information > Primary email -
On Attribute mapping, add:
Google Directory attribute App attribute First name http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givennameLast name http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surnameOptional, for role mapping: under Group membership, choose up to 75 groups and set the app attribute to
groups. Google sends the listed groups a person belongs to. -
Press Finish.
-
Open the app’s User access and turn the service ON for everyone, or for the organizational units or groups who may use indox. Changes can take up to 24 hours to reach every user.
2. Connect indox
- In indox, under Identity provider, choose SAML 2.0, paste the contents of the downloaded metadata file into Or paste the metadata XML and press Save settings.
- Map groups to roles under Role mapping if you added group membership, entering each group as Google sends it.
- Press Run test sign-in and sign in as a user with access.
Use indox’s Run test sign-in, not Test SAML login in the Admin console: Google’s button signs in at Google, which indox refuses (sso.idp_initiated_rejected). For the same reason, opening indox from the Google app launcher does not sign people in: share your Sign-in link for your team’s bookmark (e.g. https://indox.org/en-US/sso/example) instead.
Things to know
- No metadata URL. Google offers the metadata as a download only, so indox cannot refresh it automatically. When Google’s signing certificate is close to expiry, indox emails the owner and admins; download the new metadata and paste it again.
- No single logout. Signing out of indox ends the indox session only.
- SCIM. Google Workspace provisions custom apps through custom SCIM profiles, which Google offers as a limited beta. If your organization has it, use the SCIM base URL
https://indox.org/scim/v2/and the token the owner issues under SCIM token, as described in SCIM provisioning. Otherwise keep Provisioning on Create accounts at first sign-in. - OpenID Connect. Google sign-in through OpenID Connect works (issuer
https://accounts.google.com, a web client from the Google Cloud console), but it carries no groups and cannot be limited to the people you assign. Prefer the SAML app.