Comprehensive examples demonstrating Scalekit with various identity providers and protocols. Scalekit provides auth and actions on behalf of users, with 500+ connectors and 20,000+ tools. Learn how to implement enterprise authentication flows including OIDC, SAML, and SCIM provisioning.
This repository contains practical implementations for:
- Google OIDC: Complete Python implementation for Google Workspace SSO
- Microsoft Entra ID: Azure AD authentication flows
- Generic OIDC: Configurable OIDC provider integration
- Okta SAML: Enterprise Okta SAML integration
- PingIdentity SAML: PingFederate/PingOne authentication
- Azure AD SAML: Microsoft Azure SAML flows
- User Provisioning: Automated user creation and management
- Group Sync: Organization and role synchronization
- Deprovisioning: Secure user lifecycle management
- Agent-First Architecture: How MCP integrates with enterprise identity
- Human Authentication: Traditional SSO flows for web applications
- Token Management: Secure token storage and rotation with Scalekit's Token Vault
- Audit & Compliance: Immutable audit trails for enterprise requirements
- Multi-tenant Setup: Organization-level authentication policies
- Sign up for a Scalekit account
- Configure your identity provider (Google, Okta, Azure AD, etc.)
- Python 3.8+ installed on your system
# Clone the repository
git clone https://github.com/scalekit-developers/oidc-saml-scim-examples.git
cd oidc-saml-scim-examples
# Install dependencies
pip install -r requirements.txt
# Copy environment configuration
cp .env.example .envUpdate .env with your Scalekit and identity provider credentials:
# Scalekit Configuration
SCALEKIT_ENV_URL=your_env_url
SCALEKIT_CLIENT_ID=your_client_id
SCALEKIT_CLIENT_SECRET=your_client_secret
# Identity Provider Specific
GOOGLE_CLIENT_ID=your_google_client_id
OKTA_DOMAIN=your_okta_domain
AZURE_TENANT_ID=your_azure_tenant_id├── google-oidc/ # Google Workspace OIDC integration
├── okta-saml/ # Okta SAML authentication
├── azure-oidc/ # Microsoft Azure AD OIDC
├── azure-saml/ # Microsoft Azure AD SAML
├── scim-provisioning/ # User provisioning examples
├── shared/ # Common utilities and helpers
└── docs/ # Detailed implementation guides
| Example | Protocol | Description | Status |
|---|---|---|---|
| Google OIDC | OIDC | Google Workspace SSO integration | ✅ Ready |
| Okta SAML | SAML | Okta enterprise authentication | ✅ Ready |
| Azure OIDC | OIDC | Microsoft Entra ID OIDC flows | 🚧 Coming Soon |
| PingIdentity SAML | SAML | PingFederate integration | 🚧 Coming Soon |
| SCIM Provisioning | SCIM | Automated user management | ✅ Ready |
- SSO Integration - Implement enterprise Single Sign-on
- Full Stack Auth - Complete authentication solution
- SCIM Provisioning - User lifecycle management
- Social Logins - Popular social identity providers
- API Reference - Complete API documentation
- Developer Kit - Tools and utilities
- API Authentication Guide - Secure API access
- Setup Guide - Initial platform configuration
- Code Examples - Ready-to-use code snippets
- Admin Portal Guide - Administrative interface
We welcome contributions! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.