What you’ll build
You’ll implement:- Sign-up and login flows with hosted authentication pages
- Secure session management with token validation and refresh
- Logout functionality with session invalidation
- Foundation for enterprise SSO, workspaces, and user management
Prerequisites
Before you begin:- Create a Scalekit account at app.scalekit.com
- Get your API credentials from Dashboard > Developers > Settings > API Credentials
- Have a development environment with Node.js, Python, Go, or Java
Implementation steps
SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
SCALEKIT_CLIENT_ID=<your-client-id>
SCALEKIT_CLIENT_SECRET=<your-client-secret>
Register your redirect URLs in Dashboard > Authentication > Redirect URLs before implementing the callback.
After successful authentication, Scalekit redirects to your callback URL with an authorization code. Exchange this code for user details and session tokens:
Next steps
Core Concepts
Understand authentication flows and session management
Enterprise SSO
Add enterprise SSO for your customers
API Reference
Explore the complete API documentation
SDKs
Learn more about SDK features and configuration