Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more β
Top 23 Go Authorization Projects
-
Project mention: authentik VS clavex - a user suggested alternative | libhunt.com/r/authentik | 2026-07-04
-
AppSignal
AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
-
casbin
Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC.
Worth mentioning Casbin as well (https://github.com/casbin/casbin) - it's been around for a while and takes a slightly different approach. Instead of being purely Zanzibar-inspired, it uses a PERM (Policy, Effect, Request, Matchers) metamodel that lets you implement RBAC, ABAC, or ReBAC depending on what fits your use case.
-
Ory Hydra
Internet-scale OpenID Certifiedβ’ OpenID Connect and OAuth2.1 provider that integrates with your user management through headless APIs. Solve OIDC/OAuth2 user cases over night. Consume as a service on Ory Network or self-host. Trusted by OpenAI and many others for scale and security. Written in Go.
Project mention: Show HN: Open-source OAuth2 server Ory Hydra 25.4 ships OAuth2.1 and Device Auth | news.ycombinator.com | 2025-11-11 -
Project mention: zitadel VS clavex - a user suggested alternative | libhunt.com/r/zitadel | 2026-07-04
-
Project mention: AI Agent Authorization Beyond Authentication: A Look At AWS Dogwood | dev.to | 2026-10-07
Relationship-based systems can evaluate how an identity relates to a resource. Cedar, the AWS open-source access control language, or Open Policy Agent, move those authorization decisions into centrally managed policy that can be evaluated consistently at runtime and represented as code or configuration.
-
spicedb
Open Source, Google Zanzibar-inspired database for scalably storing and querying fine-grained authorization data
Project mention: Go Analysis Framework: modular static analysis by go team | news.ycombinator.com | 2026-07-26For SpiceDB[0], we've found a lot of success using this framework to define our own analyzers; it's probably 10x easier now with LLMs. No need for tribal knowledge or more time wasted on code review if you can just turn it into a linter and move on.
[0]: https://github.com/authzed/spicedb/tree/main/tools/analyzers
-
permify
An open-source authorization as a service inspired by Google Zanzibar, designed to build and manage fine-grained and scalable authorization systems for any application. β Permify is now part of FusionAuth π
Project mention: We Built an Authorization Engine That the Fortune 100 Bet On | news.ycombinator.com | 2026-05-02We've had community members bring this up[0].
While there are a variety of approaches, currently our recommended solution is to use the Watch API[1] to create Leopard-style (matrix) indexes in the clientβs database to enable efficient permission filtering using schema and YAML-based index definitions.
We started down the path of building an example watch consumer[2] but both the team and the interested community members were pulled off it for reasons, but not for technical ones.
This FAQ may be helpful to learn more about leopard indexes[3].
0: https://github.com/Permify/permify/issues/2681
1: https://fusionauth.io/permify-docs/api-reference/watch/watch...
2: https://github.com/Permify/indexer
3: http://nil.csail.mit.edu/6.5840/2023/papers/zanzibar-faq.txt
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
openfga
A high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.
It's a model I like, and I want to say that up front, because what follows isn't a criticism of ReBAC. I spent a few weeks integrating OpenFGA into a prototype to use it properly: declarative model, sixteen test scenarios, a hundred and twenty assertions running offline in two seconds with no database and no application. It worked well. I removed it anyway.
-
A few weeks ago I pointed a hand-built risk digest at unkey, a real open-source auth and API-keys codebase with 58 open pull requests, and asked it one question. If I were the senior on this team, which five would I want to look at before they merge?
-
Ory Keto
The most scalable and customizable permission server on the market. Fix your slow or broken permission system with Google's proven "Zanzibar" approach. Supports ACL, RBAC, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
-
cerbos
Cerbos is an open-core authorization management platform for authorizing every identity and governing every action across applications, gateways, workloads, and AI agents.
Project mention: cerbos VS onequery - a user suggested alternative | libhunt.com/r/cerbos | 2026-06-01 -
Ory Oathkeeper
A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
-
The PHP version also had a custom OAuth implementation. For Go, the common choice is fosite, but I decided to build the OAuth 2.1 authorization server from scratch again.
-
Project mention: Supabase Flutter deep link not working: scheme, Info.plist, AndroidManifest and the underscore bug | dev.to | 2026-09-04
If app.scheme or app.host contains an underscore, for example my_app://callback, the redirect fails even when Info.plist, AndroidManifest and the Supabase allow-list all list it correctly. Google's OAuth redirect handling mangles underscores in redirect URLs: a scheme or host like my_app always fails Supabase's redirect-URL check and silently falls back to the Site URL. This is tracked upstream as supabase/auth#2447 and there is no server-side fix. The underscore itself is the bug, so rename it to a hyphen everywhere it appears.
-
caddy-security
π Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. π Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. π Authorization with JWT/PASETO tokens. π
Project mention: One login to rule them all: centralized auth for internal tools with Caddy | dev.to | 2026-07-20Caddy-security (also known as AuthCrunch) for authentication and authorization. It plugs directly into Caddy and adds an authentication portal with OAuth2/OIDC support.
-
authorizer
Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.
Project mention: Show HN: Authorizer β open-source auth for enterprise apps and agents | news.ycombinator.com | 2026-09-02 -
rbac-manager
A Kubernetes operator that simplifies the management of Role Bindings and Service Accounts.
-
-
-
warrant
Warrant is a highly scalable, centralized authorization service based on Google Zanzibar. Use it to define, enforce, query, and audit application authorization and access control.
-
-
rbac-tool
Rapid7 | insightCloudSec | Kubernetes RBAC Power Toys - Visualize, Analyze, Generate & Query
-
rbac-lookup
Easily find roles and cluster roles attached to any user, service account, or group name in your Kubernetes cluster
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Authorization discussion
Go Authorization related posts
-
Supabase Flutter deep link not working: scheme, Info.plist, AndroidManifest and the underscore bug
-
Show HN: Authorizer β open-source auth for enterprise apps and agents
-
Authorizer 2.4: Open-source auth for AI agents and modern enterprise apps
-
ReBAC isn't the problem. The ReBAC tools I tried are.
-
Better Auth is joining Vercel
-
Show HN: I made Permission-aware RAG β fine-grained authz for vector search
-
The Agent Security Stack: Transport, Identity, Policy, Runtime
-
A note from our sponsor - AppSignal
www.appsignal.com | 7 Oct 2026
Index
What are some of the best open-source Authorization projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | authentik | 25,837 |
| 2 | casbin | 20,412 |
| 3 | Ory Hydra | 17,586 |
| 4 | zitadel | 15,180 |
| 5 | OPA (Open Policy Agent) | 12,297 |
| 6 | spicedb | 7,119 |
| 7 | permify | 5,962 |
| 8 | openfga | 5,905 |
| 9 | unkey | 5,454 |
| 10 | Ory Keto | 5,407 |
| 11 | cerbos | 4,609 |
| 12 | Ory Oathkeeper | 3,609 |
| 13 | fosite | 2,624 |
| 14 | auth | 2,573 |
| 15 | caddy-security | 2,248 |
| 16 | authorizer | 2,107 |
| 17 | rbac-manager | 1,670 |
| 18 | rakkess | 1,401 |
| 19 | topaz | 1,363 |
| 20 | warrant | 1,338 |
| 21 | audit2rbac | 1,111 |
| 22 | rbac-tool | 1,081 |
| 23 | rbac-lookup | 981 |