Available SDKs
Scalekit maintains SDKs for the following languages and platforms:Node.js SDK
Official SDK for Node.js applications with support for Express, Next.js, and other frameworks. Supports OIDC and SAML SSO with helpers for common auth tasks. Key features:- OAuth 2.0 authorization flows
- Token validation and refresh
- Organization and connection management
- Admin portal integration
- TypeScript support
Python SDK
Official Python SDK with integrations for FastAPI, Django, and Flask. Provides helpers to implement SSO and secure sessions. Key features:- OAuth 2.0 and SAML support
- Framework-specific middleware
- Session management utilities
- Type hints for better IDE support
- Async/await support
Go SDK
Official Go SDK for building high-performance authentication services. Provides utilities for token validation and secure service endpoints. Key features:- Context-aware API calls
- Concurrent request handling
- Token validation helpers
- Idiomatic Go patterns
- Comprehensive error handling
Java SDK
Official Java SDK with Spring Boot support for enterprise authentication. Streamlines secure login and session handling. Key features:- Spring Boot integration
- Enterprise-grade security
- Session interceptors
- Maven and Gradle support
- Comprehensive documentation
Expo SDK
Official SDK for React Native applications built with Expo. Enables mobile authentication flows with native capabilities. Key features:- React Native integration
- Native browser support
- Secure token storage
- Deep linking support
- Cross-platform compatibility
Feature Comparison
All SDKs provide core authentication functionality with language-specific optimizations:| Feature | Node.js | Python | Go | Java | Expo |
|---|---|---|---|---|---|
| OAuth 2.0 / OIDC | ✓ | ✓ | ✓ | ✓ | ✓ |
| SAML SSO | ✓ | ✓ | ✓ | ✓ | ✓ |
| Token validation | ✓ | ✓ | ✓ | ✓ | ✓ |
| Token refresh | ✓ | ✓ | ✓ | ✓ | ✓ |
| Organization management | ✓ | ✓ | ✓ | ✓ | ✓ |
| Connection management | ✓ | ✓ | ✓ | ✓ | ✓ |
| Admin portal | ✓ | ✓ | ✓ | ✓ | - |
| Session management | ✓ | ✓ | ✓ | ✓ | ✓ |
| Directory sync (SCIM) | ✓ | ✓ | ✓ | ✓ | - |
| TypeScript/Type hints | ✓ | ✓ | ✓ | ✓ | ✓ |
| Framework integrations | Express, Next.js | FastAPI, Django, Flask | Gin, Echo | Spring Boot | React Native |
Quick Start
All SDKs follow a similar initialization pattern:Common Workflows
All SDKs support these core authentication workflows: User Login Flow:- Generate authorization URL
- Redirect user to Scalekit
- Handle callback with authorization code
- Exchange code for tokens
- Store tokens securely
- Validate access tokens on requests
- Refresh tokens when expired
- Manage session lifecycle
- Handle logout and revocation
- Create and manage organizations
- Configure SSO connections
- Generate admin portal links
- Manage user memberships
SDK Support
All Scalekit SDKs are:- Open source - Available on GitHub with MIT license
- Actively maintained - Regular updates and security patches
- Well documented - Comprehensive guides and API references
- Production ready - Used by thousands of applications