About SSO
Single Sign-On (SSO) allows your team members to log into Twenty using your organization’s identity provider. This provides:- Centralized access control: Manage access from one place
- Enhanced security: Leverage your existing security policies
- Better user experience: One set of credentials for all tools
Supported Providers
Twenty supports SSO with any identity provider that speaks:- SAML 2.0: Works with most enterprise identity providers
- OIDC (OpenID Connect)
Setting Up SSO
Prerequisites
- Organization plan (cloud and self-hosted workspaces)
- Admin access to your identity provider
- The Security permission in your Twenty workspace
Configuration Steps
1. Access SSO Settings
- Go to Settings → General and open the Security tab
- Find the SSO section
- Click Add SSO Identity Provider
2. Name the Connection and Choose a Type
Enter a Name for the connection, then choose OIDC or SAML under Type.3. Configure Your Identity Provider
Copy the values Twenty shows into your identity provider:- SAML: the ACS URL and Entity ID under Service Provider Details, or click Download file to get the service provider metadata
- OIDC: the Authorized URI and Redirection URI under Client Settings
4. Enter Provider Details in Twenty
- SAML: under Identity Provider Metadata XML, click Upload file and select the metadata XML exported from your provider
- OIDC: enter the Client ID, Client Secret and Issuer URI from your provider
5. Save and Activate
- Click Save
- The connection appears in the SSO list. Use its menu to Deactivate, Activate or Delete it
User Provisioning
Just-in-Time (JIT) Provisioning
- Users are created automatically on first login, if they were invited or their email domain is an approved access domain
- Users are assigned the default role automatically, unless their invitation set another role
- No manual user creation needed for approved domains
Manual Provisioning
- Invite users before they can log in
- Pre-assign specific roles
- More control over who can access the workspace
Managing SSO Users
Role Assignment
SSO users can be assigned roles like regular users:- Go to Settings → Members
- Find the user
- Change their role as needed
Access Revocation
To remove access for SSO users:- Remove them from your identity provider, or
- Remove them from the Twenty workspace
Best Practices
Security
- Require SSO: Disable password login for SSO users
- Regular audits: Review access periodically
- Strong IdP policies: Enforce MFA at the identity provider
User Management
- Clear naming: Use consistent naming from your directory
- Offboarding process: Include Twenty in your deprovisioning workflow
Troubleshooting
Common Issues
- Certificate errors: Ensure the certificate hasn’t expired
- URL mismatches: Verify the ACS URL matches exactly
- User not found: Check that the user was invited or that their email domain is an approved access domain
Getting Help
If you encounter issues, contact support with:- Error messages received
- Identity provider being used
- Configuration details (without sensitive data)