SSO with Google Workspace
Google Workspace can hand sign-in to a third-party SAML identity provider. With Trowyn, your users sign in to Gmail, Drive and every "Sign in with Google" app by approving on their phone.
Google's reference: Set up SSO for your organization.
1. Prepare users
Link each user's phone in Trowyn with their primary Google Workspace email as the
external_user_id. Google matches the SAML NameID to that address.
2. Create the SSO profile in Google
- In the Google Admin console, go to Security → Authentication → SSO with third party IdP and choose Add SAML profile (third-party SSO profile).
- Fill in:
- IDP entity ID: your Trowyn issuer (from the console's SSO page)
- Sign-in page URL: the Trowyn SAML SSO URL (
…/saml) - Sign-out page URL:https://trowyn.com/- Verification certificate: uploadcertificate.pemfrom the Trowyn console - Leave Use a domain specific issuer off unless you know you need it. - Save. Google then shows the SP details: an Entity ID and an ACS URL.
3. Register Google in Trowyn
In the console, SSO → Add app → SAML:
| Field | Value |
|---|---|
| Entity ID | Google's SP Entity ID (for example https://accounts.google.com/samlrp/…) |
| ACS URL | Google's ACS URL (for example https://accounts.google.com/samlrp/acs?rpid=…) |
| NameID format | emailAddress |
The default mapping (NameID = {user}) is what Google expects.
4. Turn it on for some users
In SSO with third party IdP → Manage SSO profile assignments, assign the Trowyn profile to a test
organizational unit or group first. Sign in as a test user in a private window: Google sends you to
trowyn.com/signin, you approve on the phone and land in Gmail.
Notes
- Google super administrators always sign in with their Google password, not through SSO, so you can't lock yourself out.
- Sign-in starts from Google (SP-initiated); Google doesn't accept IdP-initiated responses for these profiles.
- When you rotate the Trowyn certificate, upload the new one to the Google profile before making it active.