JWT is a token format that carries identity claims from any authentication provider. Cerbos natively understands JWTs, extracting roles, groups, and custom claims to evaluate fine-grained authorization policies without requiring your application to parse tokens or map claims manually.
Cerbos verifies and decodes JWTs directly, extracting claims as principal attributes without application-side token parsing
Write authorization policies once against JWT claims, regardless of whether tokens come from Auth0, Keycloak, Okta, or any OIDC provider
Use any custom claim in the JWT payload, such as department, tenant, or subscription tier, as inputs to fine-grained authorization policies
JSON Web Tokens 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.
Cerbos can verify and decode JWTs directly, extracting claims such as sub, roles, groups, and any custom claims your identity provider includes. These claims become principal attributes in your policies, so you can write authorization rules based on any data carried in the token without application-side claim parsing.
No. JWT is a token format, not an authentication system. An identity provider such as Auth0, Keycloak, or Okta authenticates users and issues JWTs. Cerbos consumes those tokens regardless of which provider issued them. The JWT page describes how Cerbos works with the token format itself, independent of the issuing provider.
Yes. Cerbos can be configured with JWKS endpoints or public keys to verify JWT signatures before extracting claims. This ensures that only tokens issued by trusted identity providers are accepted for policy evaluation.



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.