Single Sign-On with Google Workspace
Connect your organization's Google Workspace to Arkham, so your people sign in to Arkham with their Google Workspace accounts.
Google Workspace doesn't provision people to apps you add yourself. Arkham adds people to your organization when they first sign in or accept an invite, and you remove them in Arkham when they leave.
Everything on the Arkham side is in Settings → Organization, which your organization's admins see.
What You'll Need
- An admin of your Arkham organization.
- For OpenID Connect, someone who can create an OAuth client in a Google Cloud project that belongs to your Google Workspace organization. For SAML, a Google Workspace super administrator.
- Access to your email domain's DNS, to show Arkham that your organization owns it.
1. Verify Your Email Domain
Only people whose email address is at a verified domain sign in through Google Workspace.
- In Arkham, under Single Sign-On, enter your domain (for example
acme.com) in Add domain and click Add. - Arkham shows a TXT record and its Value. Publish that record at your DNS provider.
- Click Verify. Arkham reads the record once; the domain stays verified after that.
Public email domains such as gmail.com can't be verified.
2. Connect Google Workspace
Arkham supports OpenID Connect and SAML 2.0. Set up one of them. We recommend OpenID Connect: Google confirms each person's email address to Arkham, so people who already have an Arkham account at your domain are linked to it the first time they sign in. With SAML, your organization must invite them first.
OpenID Connect
- In the Google Cloud console, choose a project that belongs to your Google Workspace organization, or create one, and open Google Auth Platform. If it asks you to get started, name the app Arkham, give a support email and finish.
- On Audience, choose Internal, so only people in your Google Workspace organization can sign in.
- On Clients, click Create client and choose Web application. Name it Arkham, add
https://api.arkm.com/auth/sso/oidc/callbackunder Authorized redirect URIs and click Create. Arkham shows this address under OpenID Connect as Redirect URI. - Copy the Client ID and the Client secret. Google shows the whole secret only now.
- In Arkham, under Single Sign-On, choose OpenID Connect and enter:
- Issuer:
https://accounts.google.com - Client ID and Client secret: from step 4
- Issuer:
- Click Save provider.
Google can take from a few minutes to a few hours to accept a new redirect URI.
SAML 2.0
-
In the Google Admin console, go to Apps → Web and mobile apps, click Add app and choose Add custom SAML app. Name the app Arkham and click Continue.
-
Under Google Identity Provider details, download the metadata and click Continue.
-
Fill in the service provider details:
Google setting Value ACS URL https://api.arkm.com/auth/sso/saml/acsEntity ID https://api.arkm.com/auth/sso/saml/metadataStart URL Empty Signed response Unticked Name ID The default, the person's primary email Arkham shows the same two addresses under SAML 2.0 as ACS URL and Entity ID.
-
Click Continue, add no attribute mapping, and click Finish.
-
Open the app's User access, turn it On for everyone, or on for the organizational units or groups who should use Arkham, and click Save. Google says this can take up to 24 hours, though it is usually quicker.
-
In Arkham, under Single Sign-On, choose SAML 2.0. Open the metadata file from step 2 in a text editor, paste its contents into Or paste the metadata XML and click Save provider. Arkham shows the provider, its sign-in URL and when its certificate expires.
Don't use Test SAML login in the Admin console: it starts the sign-in at Google, which Arkham doesn't accept. Sign in from Arkham instead (step 3).
Who Gets an Account
With Create and seat accounts on first sign-in on, anyone at a verified domain whom Google signs in gets an Arkham account if they have none, and a seat in your organization. With it off, only your organization's members and people with a pending invite can sign in through Google Workspace.
Whichever protocol you use, Arkham takes the person's primary Google Workspace email as their email address, so it must be at a verified domain.
Switching between SAML and OpenID Connect replaces the provider: your people sign in through the new one as if for the first time.
3. Sign In
On arkm.com, click Use Single Sign-On, enter your work email and click Continue. Google signs you in and returns you to Arkham.
To test while you are signed in to Arkham as someone else, use a private window.
Sign-in starts at Arkham. Opening Arkham from Google's app launcher doesn't sign you in.
People whose Arkham account has an authenticator app enter its code after Google signs them in.
4. Add and Remove People
Because Google Workspace doesn't provision people to Arkham:
- With Create and seat accounts on first sign-in on, people take a seat the first time they sign in. With it off, invite them with Invite members in Arkham.
- When someone leaves, suspending or deleting them in Google Workspace stops them signing in through Google, but they keep their seat and any Arkham session they already have. Remove them in Arkham too, with Remove member on their row of the member list.
5. Require Single Sign-On (Optional)
Once everyone signs in through Google Workspace, you can make it the only way in for your domains. Before you can:
- At least one admin of your Arkham organization needs an authenticator app on their Arkham account.
- You need to be signed in to Arkham through Google Workspace, which shows that the connection works.
Then tick Require single sign-on. Your organization's admins who have an authenticator app are exempt and can still sign in with their password, so a Google outage can't lock your organization out; keep at least one. For everyone else with an email address at your verified domains:
- Password sign-in, and Arkham's own Google and Apple sign-in buttons, are refused, and so are password sign-ups, password resets and changing an account's email to or from your domains. They sign in with Use Single Sign-On, which goes through your Google Workspace.
- Their sessions that didn't start with Google Workspace end.
- The Arkham mobile app doesn't support single sign-on, so they can't sign in there.
Troubleshooting
| Arkham says | What to do |
|---|---|
| Your identity provider signed you in with an email address your organization has not verified with Arkham. | The person's primary email isn't at a verified domain. Verify the domain, or change their primary email in Google Workspace. |
| You have not been added to your organization on Arkham. Ask your organization's admin for an invite. | Create and seat accounts on first sign-in is off. Invite the person in Arkham. |
| Your identity provider did not confirm your email address, so it cannot be linked to your existing Arkham account. | With SAML, the person had an Arkham account before your organization connected Google Workspace. Invite them in Arkham, then sign in again. |
| Your organization has no free seat on Arkham. | Free a seat in your organization, or ask Arkham for more. |
| Your Arkham account belongs to another organization. | The person must leave their other Arkham organization first. |
| Your organization requires single sign-on. Use Single Sign-On to sign in. | Single sign-on is required for this address. Use Use Single Sign-On on the sign-in page. |
If Google answers redirect_uri_mismatch, check that the OAuth client's Authorized redirect URIs holds https://api.arkm.com/auth/sso/oidc/callback exactly. If it answers org_internal, the person isn't in your Google Workspace organization. If Google says the SAML app isn't turned on for the person, turn it on for them under User access.
Identity Activity, in the same settings, lists every change to your single sign-on, and who made it.