What you get
Full-stack auth handles every aspect of user authentication and management:- Hosted authentication pages: Production-ready login and signup pages that match your brand
- Session management: Secure token handling, automatic refresh, and configurable session policies
- User lifecycle APIs: Create, update, and manage user accounts programmatically
- Organization modeling: Multi-tenant architecture with workspace and team management
- Multiple auth methods: Passkeys, magic links, OTPs, social logins, and enterprise SSO
- Authorization: Role-based access control (RBAC) with permissions for users and AI agents
Key features
Complete user management
Manage the full user lifecycle with built-in APIs:- Create and provision user accounts
- Update user profiles and attributes
- Handle user invitations and onboarding
- Deactivate or delete user accounts
- Track user activity and authentication events
B2B-native identity
Model organizations and multi-tenant access:- Create and manage organizations (workspaces, teams)
- Handle user memberships across organizations
- Organization-level settings and configurations
- Multi-tenant access patterns
- Organization identifiers and domain management
Modern authentication methods
Support passwordless and traditional authentication:- Passkeys: WebAuthn-based biometric authentication
- Magic links: One-click email authentication
- OTP codes: Time-based one-time passwords
- Social logins: Google, Microsoft, GitHub, and more
- Enterprise SSO: SAML and OIDC for enterprise customers
Secure session management
Automatic token lifecycle management:- Access token validation and refresh
- Refresh token rotation
- Session expiration policies
- Logout and session invalidation
Hosted login pages
Customizable authentication UI:- White-label branding with your logo and colors
- Customizable email templates
- Support for multiple authentication methods
- Mobile-responsive design
- Accessibility compliant
Use cases
B2B SaaS applications
Build multi-tenant SaaS products:- Workspace-based applications
- Team collaboration tools
- Project management platforms
- CRM and business tools
Enterprise applications
Meet enterprise authentication requirements:- Single sign-on (SSO) with Okta, Azure AD, Google Workspace
- SCIM provisioning for automated user management
- Audit logging and compliance
- Custom session policies
AI applications
Authenticate users and AI agents:- User authentication for AI chat interfaces
- Agent authorization with scoped permissions
- API authentication for M2M integrations
- Model Context Protocol (MCP) server authentication
How it works
Authentication flow
- User initiates sign-in: Your app redirects to Scalekit’s hosted auth page
- Identity verification: User authenticates via their preferred method (passkey, magic link, SSO)
- Secure callback: Scalekit returns verified user profile and session tokens
- Session creation: Your app establishes a secure user session
- Protected access: User accesses your application’s features
Complete callback handling
Token management
Integration paths
Start from scratch
New applications can adopt full-stack auth completely:- Install Scalekit SDK
- Configure redirect URLs in dashboard
- Implement login and callback endpoints
- Add session verification middleware
- Implement logout functionality
Migrate existing users
Migrate from existing authentication systems:- Bulk import users via API
- Password migration with transparent hash conversion
- Gradual rollout with feature flags
- Preserve existing user sessions during migration
Add enterprise features
Extend authentication with enterprise capabilities:- Enable SSO for enterprise customers
- Add SCIM provisioning for automated user management
- Configure custom session policies
- Implement role-based access control
Session policies
Configure session behavior in the Scalekit dashboard:- Access token lifetime: 5 minutes to 1 hour (default: 5 minutes)
- Refresh token lifetime: 7 days to 90 days (default: 30 days)
- Session inactivity timeout: Automatic logout after inactivity
- Concurrent session limits: Control simultaneous sessions per user
Extensibility
Webhooks
Receive real-time events for authentication and user lifecycle:- User created, updated, or deleted
- User logged in or logged out
- Session created or expired
- Organization events
- SSO connection events
Interceptors
Apply custom logic during authentication flows:- Pre-authentication checks
- Post-authentication data enrichment
- Custom authorization rules
- Fraud detection integration
- Third-party service integration
Custom branding
Customize hosted pages and emails:- Upload your logo and brand colors
- Customize email templates
- Add custom CSS for advanced styling
- Configure custom domains
Benefits
Developer experience
- Quick integration: Production-ready auth in hours, not weeks
- Comprehensive SDKs: Node.js, Python, Go, and Java support
- Flexible architecture: Use as complete platform or add modular features
- Extensive documentation: Step-by-step guides and code examples
Security and compliance
- OAuth 2.1 standard: Industry-standard authentication protocol
- SOC 2 certified: Enterprise-grade security standards
- GDPR compliant: Privacy-focused data handling
- Multi-region support: US and EU data residency
- 99.99% uptime: Production-ready reliability
Scalability
- Built for growth: Scales from startup to enterprise
- Performance optimized: Fast authentication flows
- Global infrastructure: Low-latency worldwide
- High availability: Redundant, fault-tolerant architecture
Get started
Quickstart guide
Implement complete authentication in 30 minutes
User management
Learn about users, organizations, and data modeling
Session management
Configure session policies and token lifecycle
Code samples
Browse complete integration examples
Related features
Full-stack auth works seamlessly with other Scalekit products:- Enterprise SSO: Add SAML/OIDC for enterprise customers
- SCIM Provisioning: Automate user lifecycle management
- MCP Auth: Secure Model Context Protocol servers
- Agent Auth: OAuth for AI agents and third-party integrations
Full-stack auth includes SSO and session management by default. If you only need SSO without complete user management, consider Modular SSO instead.