How to Connect OpenID Connect
How to Connect Any Other OIDC Application with CloudZero
CloudZero supports single-sign on (SSO) for any OpenID Connect (OIDC) application, including GCP. This enables users to seamlessly log in to CloudZero from their IdP, without needing to enter a CloudZero username and password.
Set Up a New SSO Integration with an OIDC Application
To set up a new SSO integration for CloudZero using an OIDC application, complete the following steps:
- Create a new OIDC application.
- Configure the OIDC SSO integration in CloudZero.
- Complete the OIDC configuration in your IdP.
Step 1: Create OIDC Application in Your IdP
-
Create a new OIDC Single-Page Application in your identity provider (IdP).
-
Select
- Implicit (Hybrid)
- PKCE Required
- Redirect URI:
https://auth.cloudzero.com/login/callback
-
Assign at least these Scopes:
openid
email
profile
-
Ensure that the
email_verified
attribute is mapped. Note that this is the default for many IdPs, but not for all. -
Copy the Client ID your IdP generates for you.
-
Keep the OIDC application settings page open so you can finish configuring it in a later step.
Step 2: Configure OIDC SSO Integration in CloudZero
-
Navigate to the SSO Integrations Page.
-
In the Select Your Identity Provider section, select Other from the Identity Provider Type drop-down menu.
-
Enter the Email Domain. Users with an email address from this domain will be forwarded to your SSO integration to log in to CloudZero.
-
Enter the Issuer. This is your OIDC Discovery Endpoint (for example,
https://your-idp/.well-known/openid-configuration
). -
Paste the client ID you copied from your IdP into the Client ID field.
-
Select Save.
-
Select the Open SSO Test Window button to open a new browser tab to log into your IdP and confirm a successful round trip with CloudZero. A successful round trip will redirect you to https://jwt.io/ with a valid token. After you see a decoded token, you can close this browser tab.
-
When the test is successful, CloudZero's SSO Integration page automatically displays the message Testing Complete. If this does not happen within one minute, refresh the page.
-
Check the Enable log-ins with my SSO box.
This will immediately switch over the specified email domain to use the configured SSO.
If you need to roll back this configuration, contact your CloudZero support representative.
- Copy the Bookmark URL at the bottom of the page.
Step 3: Complete OIDC Configuration
-
Return to your IdP's OIDC application settings and paste the bookmark URL you copied into the Bookmark URL field, which may also be called the Initiate Login URL field or the Website URL field, depending on your IdP.
-
Save your IdP settings.
Users can now log into CloudZero through your IdP.
Updated 4 months ago