Google Setup
Set up Google as your OIDC identity provider for Cloud ex Machina.
1. Create an OAuth client
- Open the Google Cloud Console.
- Select or create a project for your organization.
- Open APIs & Services → Credentials.
- Select Create Credentials → OAuth client ID.
- Select Web application as the application type.
- Name the client Cloud ex Machina.
If the console asks for the OAuth consent screen, configure it first. Add cloudexmachina.io to its Authorized domains.
2. Set the redirect URIs
- Open Organization Settings → SSO in Cloud ex Machina.
- Select Google as the identity provider.
- Copy the redirect URI that the tab shows. It is the URI of the host you are on.
- In the OAuth client, add both redirect URIs below under Authorized redirect URIs.
Register a redirect URI for each host your team signs in on. For the organization acme:
https://app.cloudexmachina.io/auth/callback/google
https://acme.app.cloudexmachina.io/auth/callback/google
Replace acme with your organization ID. If the tab shows another host than app.cloudexmachina.io, use that host.
3. Collect the values
- Client ID — shown after you create the OAuth client.
- Client secret — shown after you create the OAuth client.
- OIDC discovery endpoint —
https://accounts.google.com/.well-known/openid-configuration. This value is the same for every Google organization.
4. Save in Cloud ex Machina
- Return to Organization Settings → SSO.
- Select Google as the identity provider.
- Paste the client ID, client secret, and OIDC discovery endpoint.
- Set Require SSO if your team must sign in with Google only.
- Select Save SSO configuration.
On your next sign-in, enter your work email on the login page. Then select Continue with Google. The button shows the display name of your configuration.