Google SSO Setup Guide
Generating Google SSO credentials.
This guide shows how to generate Google SSO credentials.
Example hostname: https://console.phoenix-gpu.com
Outputs of This Guide
- GOOGLE_CLIENT_ID: Identifies your application
- GOOGLE_CLIENT_SECRET: Secret key for authentication
- GOOGLE_REDIRECT_URI: Callback URL after login
- Example:
https://console.phoenix-gpu.com/api/auth/callback
- Example:
Prerequisites
- Google account with access to Google Cloud Console
Setup Steps
1. Create a Google Cloud Project
- Go to Google Cloud Console
- Click the project dropdown at the top
- Click "New Project"
- Enter a project name (for example, "IaaS Console")
- Click "Create"
2. Create OAuth 2.0 Credentials
- In the left sidebar, go to APIs & Services > Credentials
- Click "+ Create Credentials" > "OAuth client ID"
- If prompted, configure the OAuth consent screen first:
- Choose External (or Internal for Google Workspace only)
- Fill in app name and contact emails
- Save and continue through the screens
- Choose application type: Web application
- Enter a name (for example, "IaaS Console")
- Under Authorized JavaScript origins:
- Click "+ Add URI"
- Add:
https://console.phoenix-gpu.com
- Under Authorized redirect URIs:
- Click "+ Add URI"
- Add:
https://console.phoenix-gpu.com/api/auth/callback
- Click "Create"
3. Copy Your Credentials
A dialog will show your credentials:
- Client ID:
GOOGLE_CLIENT_ID- Example:
123456789012-abcdefghijklmnopqrstuvwxyz123456.apps.googleusercontent.com
- Example:
- Client Secret:
GOOGLE_CLIENT_SECRET- Example:
GOCSPX-abcdefghijklmnopqrstuvwxyz
- Example:
Important: Copy and store these securely. The redirect URI you configured is your GOOGLE_REDIRECT_URI.