Settings & Configuration
Configuring SSO (Google, Microsoft, GitHub)
10 minutes read time Difficulty: advanced
Configuring SSO (Single Sign-On)
Let your team log in with their existing Google, Microsoft, or GitHub accounts — no separate password needed.
Supported providers
| Provider | Protocol | Best for |
|---|---|---|
| OAuth 2.0 | Google Workspace teams | |
| Microsoft | OAuth 2.0 | Microsoft 365 / Azure AD teams |
| GitHub | OAuth 2.0 | Developer teams |
| Custom OIDC | OpenID Connect | Enterprise identity providers |
Setting up Google SSO
Prerequisites
- Google Cloud Console access
- A Google Cloud project
Steps
- Go to Google Cloud Console
- Create OAuth 2.0 credentials:
- Application type: Web application
- Authorized redirect URI:
https://app.aisoule.com/api/auth/sso/google/callback
- Copy the Client ID and Client Secret
- In AIsoule, go to Settings → SSO
- Click "Add Provider" → Google
- Paste Client ID and Client Secret
- Save
Testing
Click "Login with Google" on the login page to verify it works.
Setting up Microsoft SSO
Prerequisites
- Azure AD / Microsoft Entra access
- An app registration in Azure
Steps
- Go to Azure Portal → App Registrations
- Create a new registration:
- Redirect URI:
https://app.aisoule.com/api/auth/sso/microsoft/callback - Supported account types: Choose based on your needs
- Redirect URI:
- Copy Application (client) ID and create a Client Secret
- In AIsoule, go to Settings → SSO
- Click "Add Provider" → Microsoft
- Paste Client ID, Client Secret, and Tenant ID
- Save
Setting up GitHub SSO
- Go to GitHub Developer Settings
- Create a new OAuth App:
- Authorization callback URL:
https://app.aisoule.com/api/auth/sso/github/callback
- Authorization callback URL:
- Copy Client ID and Client Secret
- In AIsoule, go to Settings → SSO
- Click "Add Provider" → GitHub
- Paste credentials
- Save
How SSO login works
- User clicks "Login with Provider" on the login page
- Redirected to the provider's login page
- User authenticates with their existing account
- Redirected back to AIsoule
- If the email matches an existing user → logged in
- If new email → account created automatically (if auto-provisioning is enabled)
Auto-provisioning
When enabled, new users who log in via SSO are automatically created in AIsoule with a default role. Configure in SSO settings:
- Enabled — New SSO users get auto-created
- Default role — What role they receive (e.g., Agent)
- Disabled — Only pre-existing users can log in via SSO
Tips
- Test with one user first — Verify the flow before rolling out to the team
- Set a default role — So auto-provisioned users have appropriate access
- Keep password login — As a backup in case SSO has issues
- Use domain restriction — Only allow emails from your company domain
Related Articles
Was this guide helpful?
Your feedback helps us make these guides better for everyone.