Categories

Authentication and Authorization

Libraries for implementing authentication and authorization.

Repos

311

Stars

278,743

30 days

+3,083

authzed

Open Source, Google Zanzibar-inspired database for scalably storing and querying fine-grained authorization data

Created Aug 2021

abac acl authorization ciam cloud-native
Total 7,239
30 days +78
openfga

A high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.

Created Jun 2022

abac access-control authorization entitlements fga
Total 6,165
30 days +159
ory
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.

Created Mar 2018

abac access-control acl authorization fine-grained-permissions
Total 5,427
30 days +17
leodip

Goiabada is an OAuth2 / OpenID Connect server written in Go.

Created Aug 2023

authentication authorization identity-management oauth2 oauth2-server
Total 204
30 days +0
pthm

OpenFGA-to-PostgreSQL authorization compiler. Generates specialized SQL functions from .fga schemas that query your existing tables. Zero sync, always consistent.

Created Jan 2026

authorization database fga fine-grained-authorization openfga
Total 121
30 days +19

More

apache

Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC.

Created Apr 2017

abac access-control acl apache auth
Total 20,523
30 days +65
ory

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.

Created May 2015

authorization cloud docker federation hydra
Total 17,692
30 days +70
zitadel

ZITADEL - Identity infrastructure, simplified for you.

Created Mar 2020

2fa authentication authorization fido2 fips-140-3
Total 15,629
30 days +282
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 🎉

Created Jul 2022

abac access-control acl authorization ciam
Total 5,978
30 days +18
cerbos

Cerbos is an open-core authorization management platform for authorizing every identity and governing every action across applications, gateways, workloads, and AI agents.

Created Mar 2021

abac access-control authorization authz authzen
Total 4,669
30 days +48
marmotedu

企业级的 Go 语言实战项目:认证和授权系统(带配套课程)

Created May 2021

application authentication authorization gin go
Total 4,219
30 days +8
ory

Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.

Created Dec 2015

auth authentication authorization golang hacktoberfest
Total 2,635
30 days +11
supabase

A JWT based API for managing users and issuing JWT tokens

Created Jul 2020

auth authentication authorization client-auth go
Total 2,607
30 days +29
greenpau

🔐 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. 🔐

Created Jan 2022

access-control acl auth authentication authorization
Total 2,284
30 days +34
authorizerdev

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.

Created Jun 2021

2fa auth authentication authorization docker
Total 2,126
30 days +16
aserto-dev

Cloud-native authorization for modern applications and APIs

Created Oct 2022

abac access-control api authorization cloud-native
Total 1,371
30 days +6
warrant-dev

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.

Created Feb 2023

abac access-control acl authorization authz
Total 1,341
30 days +1
apache

GORM adapter for Casbin, see extended version of GORM Adapter Ex at: https://github.com/casbin/gorm-adapter-ex

Created Jul 2017

abac access-control acl adapter auth
Total 754
30 days +1
zalando

Middleware for Gin Framework users who also want to use OAuth2

Created Sep 2015

authentication authorization gin gin-middleware oauth2
Total 619
30 days +0
thunder-id

ThunderID, an LF Decentralized Trust project, is a high-performance, open-source identity stack designed for developers to secure and manage access for humans, AI agents, and machines through fully composable identity flows.

Created May 2025

access-management ai-agents authentication authorization go
Total 617
30 days +28
raystack

Frontier is an all-in-one user management platform that provides identity, access and billing management to help organizations secure their systems and data. (Open source alternative to Clerk, WorkOS)

Created Feb 2021

authentication authorization billing clerkauth dataops
Total 346
30 days +1
apache

Casbin as a Service (CaaS)

Created Aug 2018

abac access-control acl auth authorization
Total 338
30 days +0
eko

🛡️ Authorization backend that comes with a UI for RBAC and ABAC permissions

Created Dec 2022

abac auth authentication authorization authorizer
Total 299
30 days +1
Authula

An open-source authentication solution that scales with you. Embed it as a library in your Go app, or run it as a standalone auth server with any tech stack.

Created Oct 2025

api authentication authorization backend go
Total 282
30 days +9
cedar-policy

Golang implementation of the Cedar Policy Language

Created Feb 2024

authorization cedar
Total 252
30 days +8
casbin

Caddy-authz is a middleware for Caddy that blocks or allows requests based on access control policies.

Created May 2017

caddy middleware plugin filter casbin
Total 250
30 days +0
apache

Docker RBAC and ABAC Authorization Plugin Based on Casbin: https://github.com/casbin/casbin

Created Apr 2017

abac access-control auth authorization casbin
Total 220
30 days +0
apache

Google Protocol Buffers adapter for Casbin

Created Jun 2017

access-control adapter authorization casbin protobuf
Total 191
30 days +0
apache

Etcd watcher for Casbin

Created Oct 2017

access-control authorization casbin etcd watcher
Total 171
30 days +0
rond-authz

A lightweight container for distributed security policy evaluation

Created Jun 2022

authorization hacktoberfest openpolicyagent rbac security
Total 162
30 days +0
apache

negroni-authz is an authorization middleware for Negroni

Created Jun 2017

abac access-control acl authorization casbin
Total 156
30 days +0
permitio

Easily sync open-policy rules to your feature toggles

Created Aug 2021

authorization example featureflags featuretoggles launchdarkly
Total 146
30 days +0
openfga

OpenFGA SDK for Go.

Created Apr 2022

access-control authorization fga fine-grained-authorization go
Total 131
30 days +3
gjovanovicst

A modern, production-ready Go REST API for authentication and authorization, featuring social login, email verification, JWT, and Redis integration.

Created Jun 2025

api authentication authorization docker email-verification
Total 130
30 days +0
el-mike

RBAC/ABAC authorization library for Go.

Created Jun 2021

abac access-control attribute-based-access-control authorization go
Total 112
30 days +0
authzed

Official SpiceDB client library for Go

Created Jan 2021

authorization authzed authzed-client fine-grained-access-control fine-grained-authorization
Total 106
30 days +2
vigiloauth

OAuth 2.0 & OIDC Auth Server and Identity Provider

Created Nov 2024

auth-server authentication authorization golang identity-provider
Total 102
30 days +1
johanbrandhorst

Examples of client authentication with gRPC

Created Jul 2018

authentication authorization client grpc jwt
Total 102
30 days +1
casdoor

An open-source Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, WebAuthn, TOTP and MFA

Created Sep 2023

abac auth authentication authn authorization
Total 97
30 days +0
infraboard

keyauth是一个微服务权限治理中心, 提供用户认证与授权管理

Created Nov 2019

auth-provider authentication authorization microservice oauth2
Total 90
30 days +0
reugn

Simple authentication and authorization service

Created May 2020

auth authentication authentication-middleware authorization identity
Total 89
30 days +0
piotrkowalczuk

Authorization and authentication service.

Created Apr 2015

authentication authorization golang grpc postgresql
Total 83
30 days +0
AuthPlane

OAuth 2.1 Authorization Server for the Model Context Protocol (MCP)

Created Jun 2026

agent-identity agent-identity-auth agent-identity-management authorization authorization-server
Total 82
30 days +1
jrapoport

🦇 Gothic is a user registration and authentication SWT/JWT microservice. It supports REST, gRPC, and gRPC Web API, reCAPTCHA & a variety of DBs with Gorm.

Created Dec 2020

authorization go gorm goth grpc
Total 75
30 days +0
authorizer-tech

A highly scalable open-source implementation of an access-control engine inspired by Google Zanzibar-"Google’s Consistent, Global Authorization System"

Created May 2021

access-control access-management authorization authorizer iam
Total 73
30 days +0
descope

Go library used to integrate with Descope

Created May 2022

authentication authorization descope go go-sdk
Total 62
30 days +0
teramoby

Speedle: open source access management. Based on the Speedle open source project and maintained by previous Speedle maintainers.

Created May 2020

abac access-control acl authorization cloudnative
Total 62
30 days +0
maximthomas

Gortas is an API based authentication service, allows adding authentication to your site or service with minimum efforts.

Created May 2020

2fa authentication authentication-backend authorization kerberos
Total 51
30 days +0
iegomez

Auth plugin for mosquitto.

Created Nov 2017 Archived

auth authentication authorization mosquitto mqtt
Total 604
30 days +0
greenpau

Authorization Plugin for Caddy v2 (JWT/PASETO)

Created Apr 2020 Archived

authorization caddy caddy-module caddy-plugin caddy2
Total 225
30 days +0
oracle

Speedle is an open source project for access control.

Created Mar 2019 Archived

abac access-control authorization cloudnative compliance
Total 159
30 days +0
Tecsisa

Authorization server written in Go

Created Aug 2016 Archived

authorization golang oidc proxy rbac
Total 82
30 days +0
mozilla

Doorman is an authorization (micro)service.

Created Sep 2017 Archived

api authorization golang product-delivery
Total 51
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.