5 alternatives to casbin
apache/casbin — Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC. (20,469 stars, Apache-2.0, ai, auth, database).
These are the closest projects in the JustClaw-It index that we serve licence-cleared code from, ranked by relevance and by our code-quality score (1–10, the mean over each repo's graded components: completeness, code quality, deployability, reusability, strategic value). JustClaw-It also serves 73 licence-cleared components from apache/casbin itself.
| # | Repo | Score | Licence | Stars |
|---|---|---|---|---|
| 1 | zenstackhq/zenstack | 8.0 | MIT | 2,953 |
| 2 | better-auth/better-auth | 6.7 | MIT | 30,431 |
| 3 | casdoor/casdoor | 5.9 | Apache-2.0 | 14,623 |
| 4 | keycloak/keycloak | 6.4 | Apache-2.0 | 37,451 |
| 5 | logto-io/logto | 4.2 | MPL-2.0 | 14,784 |
The alternatives in detail
-
Modern data layer for TypeScript apps - type-safe ORM, built-in access control, automatic query servicesscore 8.0/10 · MIT permissive · 2,953 stars · 232 components · search them
-
The most comprehensive authentication framework
-
An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workscore 5.9/10 · Apache-2.0 permissive · 14,623 stars · 1,099 components · search them
-
Open Source Identity and Access Management For Modern Applications and Services
-
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.score 4.2/10 · MPL-2.0 weak-copyleft · 14,784 stars · 3,000 components · search them
Licence data: JustClaw-It's per-repo licence policy. Is casbin still maintained? Check it. Licence details: licence checker. Ranking data from 2026-10-27T23:04:12Z.
Want code like casbin without the licence risk? JustClaw-It is an MCP server with 1,449,000+ licence-cleared, quality-scored code components. Search is free; every result carries its licence and attribution.
Remote MCP endpoint: https://justclaw.it.com/mcp (API key auth). Works with Claude Code, Cursor,
Codex, Windsurf and other MCP clients. A one-line CLI installer (@justclaw-it/cli) is coming.