What you get
Modular SSO focuses solely on identity verification:- SAML and OIDC support: Connect with Okta, Azure AD, Google Workspace, and 30+ identity providers
- Protocol translation: Scalekit handles SAML/OIDC complexity, returns normalized user profile
- Self-service admin portal: Customers configure their own SSO connections
- Domain-based routing: Automatic identity provider detection from email domain
- IdP-initiated SSO: Secure handling of identity provider-initiated login flows
- User attribute mapping: Receive standardized user claims regardless of IdP
When to use Modular SSO
Choose Modular SSO when you:- Already have user management and session handling
- Want to add enterprise SSO without replacing existing auth
- Need to integrate SSO into legacy systems
- Prefer custom session management logic
- Want maximum control over user data storage
Key features
Identity provider integrations
Connect with enterprise identity providers: Popular providers:- Okta
- Microsoft Entra ID (Azure AD)
- Google Workspace
- JumpCloud
- OneLogin
- Auth0
- Ping Identity
Simple authorization flow
Generate authorization URL and redirect users:- SAML request generation
- OIDC authorization flow
- Protocol-specific parameters
- Security validations
Normalized user profiles
Receive consistent user data regardless of IdP:- Email address
- First and last name
- User identifier
- Custom attributes
- Group memberships
Self-service admin portal
Customers configure SSO themselves:- Upload SAML metadata or configure OIDC
- Test SSO connections
- Configure attribute mappings
- Manage domains
- Download service provider metadata
Domain-based routing
Automatic identity provider detection:IdP-initiated SSO handling
Secure handling of identity provider-initiated login:Integration with existing auth systems
Modular SSO integrates with popular authentication providers:Auth0
Add enterprise SSO to Auth0:- Configure Scalekit as custom social connection
- Map Scalekit user attributes to Auth0 profile
- Preserve existing Auth0 rules and actions
Firebase Authentication
Add enterprise SSO to Firebase:- Use Scalekit as custom OAuth provider
- Create Firebase custom tokens from Scalekit users
- Maintain Firebase security rules
AWS Cognito
Add enterprise SSO to Cognito:- Configure Scalekit as OIDC provider
- Map user attributes to Cognito user pool
- Preserve Cognito user lifecycle
How it works
Authentication sequence
- User initiates login: Your app determines user needs SSO
- Generate authorization URL: Include organization or domain identifier
- Redirect to IdP: Scalekit routes to correct identity provider
- User authenticates: Via customer’s identity provider (Okta, Azure AD, etc.)
- Callback to your app: Scalekit returns authorization code
- Exchange code: Your app gets normalized user profile
- Create session: Your app creates session and grants access
Complete implementation
Customer onboarding
Create organization
Create organization for each enterprise customer:Provide admin portal access
Two options for SSO configuration: Option 1: Shareable linkEnable domain verification
Customers verify domain ownership:- Customer adds DNS TXT record
- Scalekit verifies ownership
- Users with verified domain auto-route to SSO
- No organization selection needed
Advanced features
Multiple SSO connections
Support multiple identity providers per organization:Custom attribute mapping
Map custom IdP attributes:Pre-check SSO availability
Check before redirecting:Organization auto-creation
Just-in-time organization provisioning:Testing SSO
Test SSO without customer IdP:IdP Simulator
Built-in test identity provider:- Create test organization in dashboard
- Pre-configured with example.com and example.org domains
- Use test organization ID in authorization URL
- IdP Simulator appears for authentication
- Enter any email and name to simulate SSO
Test with real IdPs
Create free developer accounts:- Okta: Free developer account
- Azure AD: Microsoft 365 Developer Program
- Google Workspace: Google Workspace trial
Security features
Protocol security
- SAML assertion validation: Signature and timestamp verification
- OIDC state parameter: CSRF protection
- Redirect URI validation: Prevent open redirect attacks
- Certificate rotation: Automatic handling of IdP certificate updates
Token security
- Short-lived tokens: Configurable access token lifetime
- Token validation: JWT signature verification via JWKS
- Audience validation: Ensures tokens for your application
- Issuer validation: Confirms tokens from Scalekit
Audit and compliance
- Authentication logs: Complete SSO event history
- User access tracking: Monitor authentication events
- Organization events: Track SSO configuration changes
- Webhook notifications: Real-time event streaming
Benefits
Developer experience
- Minimal integration: Add SSO without replacing auth system
- Simple API: Single SDK method for SSO flows
- Self-service: Customers configure their own SSO
- No IdP expertise: Scalekit handles SAML/OIDC complexity
Customer experience
- Familiar login: Users authenticate via corporate identity
- Single sign-on: One login for all applications
- IT control: Centralized access management
- Quick onboarding: Self-service configuration
Production ready
- Enterprise security: SOC 2, ISO 27001 certified
- High availability: 99.99% uptime SLA
- Global performance: Multi-region deployment
- Scalable: Handles any volume
Get started
Quickstart guide
Add enterprise SSO in 30 minutes
SSO integrations
Browse SSO provider integrations
Test SSO
Test your SSO integration
API Reference
Explore SSO API endpoints
Related products
- Full-stack Auth: Includes SSO plus complete user management
- SCIM Provisioning: Add automated user provisioning
Modular SSO is designed for applications with existing user management. If you’re building new authentication, consider Full-stack Auth which includes SSO plus complete user lifecycle management.