Welcome to SSO.ID v2
From your first Single-Page Application login to multi-region B2B enterprise federation with SAML 2.0, OIDC, FIDO2 Passkeys, SCIM 2.0 provisioning, and tamper-evident SIEM audit chains — learn how every piece of SSO.ID v2 works together through a real engineering story.
How One Engineering Team Scales from Day-1 Login to Fortune-500 Enterprise Readiness
Throughout this documentation, we follow CloudPulse — a fast-growing SaaS platform — as their engineering team implements SSO.ID v2 step by step:
Chapter 1–3: Day-1 Authentication & Social Login
CloudPulse creates their Tenant Workspace (Tenant Settings), connects a 1-click custom domain (login.cloudpulse.io via Cloudflare), registers their Angular SPA & .NET API (Applications), and turns on Google, GitHub, and FIDO2 Passkey sign-in (Connections).
Chapter 4–5: Fine-Grained RBAC & Dynamic Menus
Instead of hardcoding role checks in 40 frontend components, CloudPulse models their sidebar tree in App Pages and backend routes in Application APIs, then grants granular view / add / update / delete permissions in Role Management.
Chapter 6–7: B2B Customer Onboarding & SCIM 2.0
When Fortune-500 bank GlobalBank buys CloudPulse, they demand Okta SAML 2.0 SSO, custom co-branded login screens, mandatory Passkey + TOTP step-up MFA, and automated SCIM 2.0 employee offboarding. CloudPulse provisions a dedicated Organization and Organization Units in minutes with zero code changes.
Chapter 8: SOC 2, HIPAA & Tamper-Evident SIEM
Before closing the enterprise deal, CloudPulse applies the 1-Click SOC 2 / GDPR / HIPAA compliance preset, signs a digital BAA, and streams SHA-256 hash-chained audit logs to Splunk (Audit Logs & Telemetry).
The 3-Engine Architecture of SSO.ID v2
Understanding how SSO.ID v2 is architected makes integrating any protocol effortless. The platform is composed of three dedicated services working in concert:
1. Protocol & Federation Server (Auth.SSO.Id)
URL: https://{your-tenant}.sso.id/auth (or Custom Domain)
The high-throughput runtime identity provider. Executes OIDC Discovery (/auth/.well-known/openid-configuration), JWKS (/auth/.well-known/jwks.json), OAuth 2.0 (/auth/oauth/authorize, /auth/oauth/token), SAML 2.0 (/auth/Saml/Login, /auth/saml/acs, /auth/saml/metadata), and FIDO2 WebAuthn Passkeys (/auth/oauth/passkey/*).
2. Core Management & SCIM API (Core.SSO.Id)
URL: https://{your-tenant}.sso.id/api
The control-plane REST engine. Exposes 20+ resource controllers (/api/applications, /api/connections, /api/users, /api/roles, /api/organizations, /api/settings/tenant, /api/signing-keys, /api/audit-logs, /api/compliance) plus the RFC 7644 SCIM 2.0 server (/api/scim/v2).
3. Admin Console & App Launcher (angular.sso.id)
URL: https://{your-tenant}.sso.id
Dual-mode Angular v2 portal:
- Admin Console: Full management of tenants, applications, connections, RBAC, B2B orgs, MFA, and compliance.
- End-User App Launcher: Okta-style single-click app chiclet portal, self-service security, active session revocation, and GDPR data export.
The 4-Tier Policy Inheritance & Override Cascade
One of SSO.ID v2's most powerful capabilities is its 4-Tier Policy Inheritance Engine. Instead of duplicating settings across dozens of enterprise customers, policies flow automatically from top to bottom unless explicitly overridden:
Tier 1: Tenant Workspace (Global Baseline) /settings
Defines your company-wide defaults: Custom Domain, Global Branding, Password Complexity, Brute-Force Lockout, Session Timeouts, Default JWT Token Lifetimes, Enabled MFA Factors, IP/Country Geofencing, and Regulatory Compliance Presets (GDPR/HIPAA/SOC2).
Tier 2: Application /applications
Inherits from the Tenant by default, or toggles granular overrides (overrideGeneral, overrideBranding, overrideSecurity, overrideTokens, overrideMfa) so a high-security Admin Portal can enforce 15-minute access tokens and mandatory FIDO2 Passkeys while a consumer mobile app uses 7-day refresh tokens.
Tier 3: B2B Organization /organizations
Represents an enterprise customer (e.g., GlobalBank Corp). When your app passes organizationId={organizationId} to /auth/oauth/authorize, SSO.ID dynamically applies that customer's co-branded logo/colors, dedicated SAML/OIDC Identity Provider connection (assignToOrganizationOnly), custom token claims, and customer-mandated MFA policy.
Tier 4: Organization Unit (Sub-Department) /organization-units
Represents a division or regional branch inside an Organization (e.g., GlobalBank — Investment Banking Desk vs GlobalBank — Retail Contractors). Passing organizationUnitId={organizationUnitId} lets specific departments enforce stricter step-up MFA or dedicated IdP connections.
Multi-Tenant Isolation & US / EU Data Residency
Every tenant created in SSO.ID v2 chooses its physical data residency cluster at creation time (displayed in the top navbar alongside the Tenant Switcher):
🇺🇸 United States (US Region)
Hosted in US-East infrastructure for North American low-latency authentication, SOC 2 Type II, and HIPAA BAA workloads. Requests are routed automatically via the tenant domain URL and JWT token claims.
🇪🇺 European Union (EU Region — GDPR Strict)
Hosted in Frankfurt, Germany (EU-Central). All PII, user credentials, session tokens, and audit logs remain strictly within EU jurisdiction. Requests are routed automatically via the EU tenant domain URL and JWT token claims.
Complete Documentation Roadmap
| Chapter & Guide | Console Route | Primary Protocols & APIs Covered |
|---|---|---|
| Quick Start Guide | /applications |
5-minute setup for OIDC, OAuth 2.0, SAML 2.0, and SDKs (Angular, React, .NET, Node, Python, Go). |
| AI Agent Protocol Playbooks | All Routes | Copy-pasteable AI prompts for OIDC+PKCE, OAuth2 M2M, SAML 2.0, Password Grant, Passkeys, SCIM 2.0, and JWT RBAC. |
| REST & Protocol API Reference | {your-tenant}.sso.id/auth & {your-tenant}.sso.id/api |
Complete catalog of all 20+ controllers, HTTP verbs, headers, and schemas. |
| Account & App Launcher Portal | /overview, /user-profile |
Registration modes, Multi-Account Switcher, Okta-style App Chiclets, Active Sessions, Passkeys, GDPR Export. |
| Applications & Signing Keys | /applications |
SPA/Web/M2M/SAML apps, Token Target mapping, Signing Key rotation, API permissions, /api/applications. |
| Connections & SCIM 2.0 | /connections |
OAuth 2.0, OIDC, SAML 2.0, Live Test before save, JIT & SCIM 2.0 Provisioning. |
| Users, Roles & Groups | /user-management, /role-management, /groups |
Directory lifecycle, Menu CRUD + API Endpoint RBAC permissions, Group assignments. |
| Organizations & Org Units | /organizations, /organization-units |
B2B customer onboarding, co-branding, dedicated IdP routing, department hierarchy. |
| Multi-Factor & Passkeys & App Pages | /multi-factor, /app-pages |
FIDO2 WebAuthn Passkeys, TOTP, Email, Twilio/AWS SMS, Multi-Factor Step-Up, dynamic UI menu trees. |
| Tenant Settings, Members, Roles & SMTP | /settings, /tenant-members, /tenant-roles, /smtp |
1-Click DNS Custom Domains, Branding Studio, Compliance Presets, Break-Glass, Custom SMTP & Email Templates. |
| Audit Logs, SIEM & Analytics | /audit-logs, /user-activity, /overview |
SHA-256 tamper-evident audit hash chain, JSON diff inspection, Splunk/Datadog/CloudWatch SIEM export. |
I am integrating **SSO.ID v2** (`https://{your-tenant}.sso.id/auth` for OIDC/OAuth2/SAML/Passkeys and `https://{your-tenant}.sso.id/api` for Management & SCIM 2.0 APIs) into my project.
My tech stack is: [INSERT FRONTEND + BACKEND FRAMEWORK].
My requirements are:
1. OIDC Authorization Code + PKCE (`S256`) login via `GET https://{your-tenant}.sso.id/auth/oauth/authorize` and `POST https://{your-tenant}.sso.id/auth/oauth/token`.
2. Backend JWT validation using JWKS `GET https://{your-tenant}.sso.id/auth/.well-known/jwks.json?appId={appId}`.
3. Support B2B customer login routing by passing optional `organizationId` and `connectionId` query parameters to `/auth/oauth/authorize`.
4. Dynamic sidebar menu & CRUD permission rendering using `GET https://{your-tenant}.sso.id/api/applications/{appId}/menus` and role claims.
Please design the authentication architecture and generate the implementation files step by step.