Apache Casbin

An authorization library that enforces access-control models such as ACL, RBAC, and ABAC in application code.

apache/casbin★ ~21kGo

Best for

  • embedding RBAC or ABAC checks in a service
  • teams that want a model-based authorization library

Not ideal for

  • a standalone SSO or identity-provider server

Drafted automatically from the repository, not yet confirmed by maintainers · reviewed 2026-11-19

Links

Who's behind it

@hsluoyz made 72% of commits by people in the last 52 weeks; 15 people committed. From GitHub, last 52 weeks.

License and publishing, version by version

Read daily by Watch since 22 Nov 2026. Tap any value for its receipt: the source as read, its sha256 and when.

License, as each source states it

Repository · GitHub's match

100 or more releases on GitHub, the last on 20 Aug 2026.

What changed

  • 24 Nov 2026 language: Go

Alternatives in Authentication

See all
  • Authelia

    A self-hosted authentication and authorization server with SSO, two-factor authentication, and access rules.

    Apache-2.0 · Go

  • authentik

    A self-hosted identity provider for SSO, supporting SAML, OAuth2/OIDC, LDAP, and RADIUS.

    MIT · review · Python

  • Better Auth

    A TypeScript authentication library for web apps, covering sign-in, sessions, and common auth providers.

    MIT · TypeScript

Something off?

Corrections and maintainer claims arrive with accounts.