IntegrationsCloud Provider Integrations
GCP SSO Integration
Learn how to integrate GCP SSO with Cokpit
Step 1: Create OAuth 2.0 Credentials on GCP
- Go to the Google Cloud Console.
- Navigate to APIs & Services → Credentials.
- Click Create Credentials → OAuth Client ID.
- Select Web Application as the application type.
- Enter a name for your client (e.g.,
Cokpit SSO Client). - Under Authorized redirect URIs, add your Cokpit redirect URL (for example:
https://app.cokpit.io/auth/callback). - Click Create.
- Copy the generated Client ID and Client Secret.
💡 Tip: Store your Client Secret securely — you’ll need it when adding the integration to Cokpit.
Step 2: Add GCP SSO Integration in Cokpit
-
Open Cokpit → Integrations → Cloud Provider → GCP SSO.
-
Click Add Integration.
-
Fill in the required fields:
- Secret Name: A unique name for your GCP SSO secret (e.g.,
gcp-sso-secret) - Project ID: Your Google Cloud Project ID (e.g.,
my-gcp-project) - Client ID: The OAuth 2.0 Client ID you created
- Client Secret: The OAuth 2.0 Client Secret
- Secret Name: A unique name for your GCP SSO secret (e.g.,
-
Click Select (or Save) to complete the setup.
Security Best Practices
- Use OAuth 2.0 best practices for token handling.
- Rotate your Client Secrets periodically.
- Restrict OAuth credentials to trusted domains.
- Monitor GCP audit logs for authentication and access events.
- Follow Google Identity security recommendations.
- Never commit Client Secrets to source control.