Duende IdentityServer provides OpenID Connect and OAuth 2.0 for your .NET applications. Cerbos consumes the identity tokens Duende issues and evaluates fine-grained authorization policies, so access control logic stays out of your ASP.NET middleware and API controllers.
Map Duende IdentityServer claims, roles, and scopes directly to Cerbos principal attributes for fine-grained authorization
Move past OAuth 2.0 scope checks to policies that combine identity claims with resource ownership, time, and request context
Keep authorization logic in Cerbos policies instead of scattering [Authorize] attributes and custom middleware across your ASP.NET codebase
Duende IdentityServer 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.
Duende IdentityServer issues OpenID Connect ID tokens and OAuth 2.0 access tokens containing claims such as roles, scopes, and custom profile data. Your application extracts these claims and passes them to Cerbos as principal attributes. Cerbos evaluates them against your policies alongside resource attributes and request context to produce an authorization decision.
Yes. For service-to-service communication, Duende IdentityServer issues client credentials tokens with scopes and custom claims. Cerbos treats the client identity the same as a user principal, so you can write policies that authorize machine-to-machine access based on client ID, granted scopes, or any custom claim in the token.
No. Duende IdentityServer handles authentication, token issuance, and consent. Cerbos handles authorization. Duende's scope-based access control is coarse-grained by design. Cerbos adds resource-level and attribute-based policies on top without modifying your IdentityServer configuration.



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.