casbin VS authentik

Compare casbin vs authentik and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
casbin authentik
38 165
16,865 6,685
1.4% 12.2%
7.2 10.0
19 days ago 6 days ago
Go Go
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

casbin

Posts with mentions or reviews of casbin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-07.

authentik

Posts with mentions or reviews of authentik. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-14.
  • Show HN: Stack, the open-source Clerk/Firebase Auth alternative
    2 projects | news.ycombinator.com | 14 Apr 2024
    If you're looking for a system that has more features, is user friendly, a nice admin ui and easy deployments compared to Keycloak. Please give https://goauthentik.io/ a shot. Not affiliated in any way, just a very happy user.

    It has

    -an admin UI

    - Supports (LDAP, SAML, OAUTH, social logins)

    - MFA, Passkeys

    - Application access based on user groups etc

  • immich SSO with Authentik
    3 projects | dev.to | 3 Apr 2024
  • Show HN: Auth0 OSS alternative Ory Kratos now with passwordless and SMS support
    4 projects | news.ycombinator.com | 22 Feb 2024
    Hey, for authentik this is actually something we're actively working on: https://github.com/goauthentik/authentik/pull/8330, and this will be included in our next feature release in April!

    (Disclaimer, I am founder and CTO of authentik)

  • Keycloak SSO with Docker Compose and Nginx
    21 projects | news.ycombinator.com | 11 Feb 2024
    See here for the fix, which both implements the workaround suggested in the issue and also a much more standard-compliant method: https://github.com/goauthentik/authentik/pull/8471
  • Has anyone had any success setting Authentik up behind Caddy for a reverse proxy?
    2 projects | /r/selfhosted | 8 Dec 2023
    Ask in the correct places for support: https://github.com/goauthentik/authentik/discussions and https://github.com/caddyserver/caddy/issues
  • Authentik setup via Portainer?
    1 project | /r/synology | 7 Dec 2023
    I've been searching around for a while now, and struggling with getting Authentik setup on my NAS. I'd like to deploy via Portainer, but getting lost in the documentation just to deploy.
  • Show HN: Obligator – An OpenID Connect server for self-hosters
    18 projects | news.ycombinator.com | 11 Oct 2023
    Personally I went with Keycloak, because it's fairly well documented and also has Docker images available: https://www.keycloak.org/getting-started/getting-started-doc... although the fact that they want you to create an "optimized" image yourself and have a long build/setup process on startup instead is slightly annoying: https://www.keycloak.org/server/containers

    Regardless, with something like mod_auth_openidc or another Relying Party implementation, all of the sudden authn/authz becomes easier to manage (you can literally get user information including roles in headers that are passed from your gateway/relying party to apps behind the reverse proxy), regardless of what you have actually running in your APIs: https://github.com/OpenIDC/mod_auth_openidc (there are other options, of course, but I went with that because I already use mod_md).

    It's actually cool that there are plentiful options in the space, since OIDC is pretty complex in of itself and attempts at creating something pleasant to actually use are always welcome, I've also heard good things about Authentik: https://goauthentik.io/

  • Issues with authentik
    1 project | /r/NixOS | 7 Jul 2023
    Hello ! I am hosting a server under NixOS with multiple services, and to simply the identity management, I use authentik (https://goauthentik.io/) which can be compared to keycloak. Everything works fine until I try to enable mastodon to host an instance : authentik returns an error 400 and nothing changes this but disabling mastodon. Does anyone have an idea of what could be the cause of this ?
  • HAProxy with Forward Auth to Authentik
    2 projects | /r/selfhosted | 7 Jul 2023
    For Authentik, it looks like they are not interested to write how to configure HAProxy with it https://github.com/goauthentik/authentik/issues/5768
  • Authentik reverse proxy vs swag
    3 projects | /r/selfhosted | 7 Jul 2023

What are some alternatives?

When comparing casbin and authentik you can also consider the following projects:

OPA (Open Policy Agent) - Open Policy Agent (OPA) is an open source, general-purpose policy engine.

authelia - The Single Sign-On Multi-Factor portal for web apps

casdoor - An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA and RADIUS [Moved to: https://github.com/casdoor/casdoor]

Keycloak - Open Source Identity and Access Management For Modern Applications and Services

Ory Keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

zitadel - ZITADEL - The best of Auth0 and Keycloak combined. Built for the serverless era.

CASL - CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

keycloak-operator - ARCHIVED Kubernetes Operator for the no longer supported WildFly distribution of Keycloak

zanzibar - A build system & configuration system to generate versioned API gateways.

jellyfin-plugin-ldapauth - LDAP Authentication for Jellyfin

jwt-auth - This package provides json web token (jwt) middleware for goLang http servers

docker-swag - Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.