Google OIDC
Configure Single Sign-On (SSO) with Google Workspace for React Native Stallion using OpenID Connect.
Free for All Plans:
SSO is available for free on all React Native Stallion plans.
Google OIDC Setup
This guide walks you through configuring SSO with Google Workspace as your identity provider.
Prerequisites
- Admin access to your Google Cloud Console
- A Google Workspace organization (for domain-restricted access)
- Admin access to your Stallion organization
Step 1: Create OAuth Credentials in Google Cloud
- Go to the Google Cloud Console
- Select or create a project
- Navigate to APIs & Services → Credentials
- Click Create Credentials → OAuth client ID
- If prompted, configure the OAuth consent screen first
Step 2: Configure OAuth Consent Screen
- Go to APIs & Services → OAuth consent screen
- Select Internal (for Google Workspace) or External
- Fill in the required information:
- App name:
Stallion SSO - User support email: Your support email
- Developer contact: Your email
- App name:
- Add scopes:
email,profile,openid - Save and continue
Step 3: Create OAuth Client ID
- Go back to Credentials → Create Credentials → OAuth client ID
- Select Web application
- Configure:
| Setting | Value |
|---|---|
| Name | Stallion SSO |
| Authorized redirect URIs | https://api.stalliontech.io/api/v1/sso/auth/login/callback |
| Authorized redirect URIs | https://api.stalliontech.io/api/v1/sso/auth/finalize/callback |
- Click Create
Step 4: Gather OIDC Configuration
After creating the OAuth client, note down:
| Value | Description |
|---|---|
| Client ID | Shown after creation |
| Client Secret | Shown after creation |
| Issuer URL | https://accounts.google.com |
Step 5: Configure SSO in Stallion Console
- Log in to Stallion Console
- Navigate to your Organization → SSO Settings
- Click Configure SSO
Step 5.1: Enter Configuration
Enter the following details:
| Field | Description |
|---|---|
| Domain | Your organization's email domain (e.g., yourcompany.com) |
| Org Slug | A unique identifier for your organization |
| Issuer URL | https://accounts.google.com |
| Client ID | From Step 4 |
| Client Secret | From Step 4 |
Click Next to proceed.
Step 5.2: Verify Domain
- Copy the provided TXT record
- Add it to your domain's DNS settings
- Wait for DNS propagation (this may take a few minutes)
- Click Verify to confirm domain ownership
Step 5.3: Finalize SSO
- Click Finalize SSO
- You will be redirected to Google to log in
- Complete authentication with your Google Workspace credentials
- Once successful, SSO is fully configured
Restricting Access to Your Domain
To ensure only users from your Google Workspace domain can access Stallion:
- Use an Internal OAuth consent screen, or
- Configure domain restrictions in Stallion Console after SSO setup
Troubleshooting
Need Help?:
If you encounter issues during setup, contact our support team at stalliontech.io/contact.