Google SSO
Section titled “Google SSO”Let users sign in with their Google account.
Enable it
Section titled “Enable it”-
CLI:
bridge setup sso --provider google --client-id <id> --client-secret <secret> -
Control Center (your admin dashboard at app.thebridge.dev): Auth → Login → Google SSO → Configuration
-
MCP (AI-assistant integration): coming soon.
Either path saves the credentials and turns the connection on. You need a Google OAuth client first; see below.
Set up the Google side
Section titled “Set up the Google side”-
In Google Cloud Console, create (or open) an OAuth 2.0 Web application client. (The Control Center’s Configuration dialog has a Find your keys here shortcut straight to this page.)
-
Under Authorised JavaScript origins, add Bridge’s hosted auth domain:
https://auth.thebridge.dev, or your ownhostedUrl(the base URL for Bridge’s hosted UI) if you’ve customized it; see the config reference. -
Under Authorised redirect URIs, add:
https://api.thebridge.dev/auth/federated/google/returnThis is a fixed URL shared by every app on Bridge; it isn’t specific to yours, and it’s the same value the Control Center’s Configuration dialog shows you. Always use whatever value is shown there if it differs from this.
-
Copy the Client ID and Client secret Google gives you back into Bridge, via the CLI command above or the Control Center dialog.
UI components
Section titled “UI components”A ready-made SSO button and login form both handle this. See SSO login button in UI components.