WorkOS provides enterprise-ready SSO, Directory Sync, and Organizations for B2B applications. Cerbos uses WorkOS identity signals like organization memberships, directory groups, and user roles to make fine-grained authorization decisions across your multi-tenant application.
Use WorkOS Organization memberships and roles to drive multi-tenant authorization policies in Cerbos
Reference customer directory groups from Okta, Azure AD, or Google Workspace as principal attributes in Cerbos policies
Use SSO connection type, organization, and IdP attributes from WorkOS profiles to make authorization decisions
WorkOS handles authentication, confirming who a user is. Cerbos handles authorization, deciding what that user can do. Together they give you a complete access control stack without coupling identity logic to business rules.
Cerbos lets you write fine-grained, context-aware authorization policies in human-readable YAML. Policies are decoupled from application code so product and security teams can update permissions without a release cycle.
Because Cerbos runs as a stateless Policy Decision Point (PDP) next to your application, authorization checks are sub-millisecond and scale horizontally with your infrastructure.
WorkOS Organizations represent your customers' companies in a B2B application. Pass the user's organization ID, organization membership, and role to Cerbos as principal attributes. Your policies can enforce organization-scoped access rules, ensuring users only access resources within their own organization.
Yes. Directory Sync pulls group memberships from your customers' identity providers (Okta, Azure AD, Google Workspace) into WorkOS. These groups are available on the user profile and can be passed to Cerbos as principal attributes, enabling policies based on the customer's own organizational structure.
Yes. When users authenticate via SAML or OIDC through WorkOS SSO, the profile includes the connection type, organization, and identity provider attributes. Pass these to Cerbos for policies that can differentiate authorization based on how the user authenticated or which enterprise connection they used.



What is Cerbos?
Cerbos is an end-to-end enterprise authorization software for Zero Trust environments and AI-powered systems. It enforces fine-grained, contextual, and continuous authorization across apps, APIs, AI agents, MCP servers, services, and workloads.
Cerbos consists of an open-source Policy Decision Point, Enforcement Point integrations, and a centrally managed Policy Administration Plane (Cerbos Hub) that coordinates unified policy-based authorization across your architecture. Enforce least privilege & maintain full visibility into access decisions with Cerbos authorization.