Go (Golang) authentication and authorization libraries
Login, OAuth, JWT and permission libraries for Go, ranked by GitHub stars
Mis à jour · GitHub stars (stars)
Pourquoi ces 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
jwt-go
A full featured implementation of JSON Web Tokens (JWT). This library supports the parsing and verification as well as the generation and signing of JWTs.
9,275 stars 464 forkslast push 2026-11-09GoMIT
-
2
spicedb
A Zanzibar-inspired database that enables fine-grained authorization.
7,233 stars 452 forkslast push 2026-11-20GoApache-2.0
-
3
goth
provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.
6,625 stars 630 forkslast push 2026-02-11GoMIT
-
4
openfga
Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by CNCF.
6,169 stars 577 forkslast push 2026-11-20GoApache-2.0
-
5
oauth2
Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support.
5,909 stars 1,056 forkslast push 2026-11-09GoBSD-3-Clause
-
6
keto
Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular...
5,421 stars 394 forkslast push 2026-09-04GoApache-2.0
-
7
-
8
jwx
Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies.
2,444 stars 195 forkslast push 2026-11-20GoMIT
-
9
gologin
chainable handlers for login with OAuth1 and OAuth2 authentication providers.
1,955 stars 147 forkslast push 2026-11-18GoMIT
-
10
-
11
oidc
Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation.
1,926 stars 240 forkslast push 2026-11-13GoApache-2.0
-
12
gorbac
provides a lightweight role-based access control (RBAC) implementation in Golang.
1,676 stars 180 forkslast push 2026-07-21GoMIT
-
13
paseto
Golang implementation of Platform-Agnostic Security Tokens (PASETO).
939 stars 40 forkslast push 2023-02-25GoMIT
-
14
cristalhq/jwt
Safe, simple, and fast JSON Web Tokens for Go.
687 stars 46 forkslast push 2025-06-22GoMIT
-
15
go-guardian
Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication that supports LDAP,...
613 stars 61 forkslast push 2024-07-25GoMIT
-
16
go-jose
Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.
551 stars 162 forkslast push 2026-11-18GoApache-2.0
-
17
pascaldekloe/jwt
Lightweight JSON Web Token (JWT) library.
360 stars 24 forkslast push 2023-04-29GoNOASSERTION
-
18
authula nouveau
Authentication library and standalone auth server that can be embedded in a Go app or run as a service.
283 stars 28 forkslast push 2026-11-20GoApache-2.0
-
19
jeff ▼1
Simple, flexible, secure, and idiomatic web session management with pluggable backends.
270 stars 17 forkslast push 2025-01-23GoBSD-3-Clause
-
20
gosession ▼1
This is quick session for net/http in GoLang. This package is perhaps the best implementation of the session mechanism, or at least it tries to become one.
257 stars 18 forkslast push 2024-07-31GoMIT
Références
- avelino/awesome-go: Authentication and Authorization, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-20 21:44 UTC.
- avelino/awesome-go (Authentication and Authorization), GitHub community list, 43 tools with a public repository.