“Suppose an enterprise customer uses Okta or Microsoft Entra ID and an employee, alice@acme.com, tries to log in to your application for the first time.”
“Suppose an enterprise customer uses Okta or Microsoft Entra ID and an employee, alice@acme.com, tries to log in to your application for the first time.”
“If you're building a multi-tenant B2B SaaS application using WorkOS, I'd recommend this architecture:”
“Importantly, JIT provisioning is enabled by default in AuthKit.”
“WorkOS reuses an existing user when they authenticate through SSO rather than creating duplicate accounts.”
“With SCIM and Directory Provisioning: - Okta deprovisions Alice. - WorkOS receives the directory change. - Alice's organization membership is deactivated. - Her active sessions are revoked.”
“WorkOS offers Directory Provisioning to bridge that gap.”
“With JIT alone: - WorkOS does not automatically know Alice has left. - Her existing account and membership remain.”
“Basic Directory Sync synchronizes directory records, but does not automatically create AuthKit users and organization memberships.”
“With WorkOS AuthKit, the flow is:”
