← All Go categories

Authentication and Authorization Go Libraries Ranking

Libraries for implementing authentication and authorization.

40 repositories, updated daily.

- Authorization library that supports access control models like ACL, RBAC, and ABAC.

20.3K
1.8K
Yesterday
+16 weekly
View

- 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.2K
440
Yesterday
+4 weekly
View

- A Zanzibar-inspired database that enables fine-grained authorization.

6.9K
410
Yesterday
+32 weekly
View

- provides a simple, clean, and idiomatic way to use OAuth and OAuth2. Handles multiple providers out of the box.

6.6K
631
Yesterday
+10 weekly
View

- Successor of goauth2. Generic OAuth 2.0 package that comes with JWT, Google APIs, Compute Engine, and App Engine support.

5.9K
1.1K
Yesterday
+3 weekly
View

- Implementation of fine-grained authorization based on the "Zanzibar: Google's Consistent, Global Authorization System" paper. Backed by [CNCF](https://www.cncf.io/).

5.6K
453
Yesterday
+36 weekly
View

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

5.4K
385
2 days ago
+5 weekly
View

- Modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure it, and start building your app without having to build an authentication system each time.

4.2K
221
3 days ago
+1 weekly
View

- Session Manager for HTTP servers.

2.6K
201
Yesterday
+8 weekly
View

- Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies.

2.4K
195
Yesterday
+3 weekly
View

- chainable handlers for login with OAuth1 and OAuth2 authentication providers.

2.0K
147
Yesterday
-1 weekly
View

- Golang OAuth2 server library.

1.9K
394
2 weeks ago
+0 weekly
View

- JWT login microservice with pluggable backends such as OAuth2 (Github), htpasswd, osiam.

1.9K
148
3 weeks ago
+0 weekly
View

- Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation.

1.9K
215
Yesterday
+0 weekly
View

- provides a lightweight role-based access control (RBAC) implementation in Golang.

1.7K
181
1 week ago
+0 weekly
View

- Golang implementation of Platform-Agnostic Security Tokens (PASETO).

941
39
Yesterday
+0 weekly
View

- Safe, simple, and fast JSON Web Tokens for Go.

691
46
4 days ago
+1 weekly
View

- 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, Basic, Bearer token, and Certificate based authentication.

613
61
1 month ago
+0 weekly
View

- Fairly complete implementation of the JOSE working group's JSON Web Token, JSON Web Signatures, and JSON Web Encryption specs.

527
131
Yesterday
+3 weekly
View

- Lightweight JSON Web Token (JWT) library.

361
24
1 month ago
+0 weekly
View

- Simple, flexible, secure, and idiomatic web session management with pluggable backends.

272
16
3 months ago
+0 weekly
View

- 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
18
2 weeks ago
+0 weekly
View

- JWT middleware for Golang http servers with many configuration options.

238
41
3 weeks ago
+0 weekly
View

for Golang 1.15+.

235
7
1 month ago
+0 weekly
View

- An open-source authentication and authorization server supporting OAuth2 and OpenID Connect.

200
20
Yesterday
+1 weekly
View

- Library to generate TOTP/HOTP codes.

145
12
2 weeks ago
+0 weekly
View

- Simple, yet effective HTTP session management and identification package.

132
7
2 weeks ago
+0 weekly
View

- Simple jwt generator and parser.

123
9
1 month ago
+0 weekly
View

- Go session management for web servers (including support for Google App Engine - GAE).

119
15
4 weeks ago
+0 weekly
View

- Efficient secure cookie encoding/decoding.

87
12
2 weeks ago
+0 weekly
View

- Dead simple, highly performant, highly customizable sessions service for go http servers.

80
11
2 weeks ago
+0 weekly
View

- Time-Based One-Time Password (TOTP) and HMAC-Based One-Time Password (HOTP) library for Go.

77
10
5 months ago
+0 weekly
View

- Developer-first Identity and Access Management system with a simple UI.

46
9
1 month ago
+0 weekly
View

- Easily Manage OAuth2 Scopes In Go.

43
8
2 weeks ago
+0 weekly
View

- Utilities for GitHub authentication: generate and use GitHub application and installation tokens.

33
7
2 days ago
+0 weekly
View

- provides a parser of cookies.txt file format.

24
7
1 month ago
+0 weekly
View

- JWT authentication package providing access tokens and refresh tokens with fingerprinting, Redis storage, and automatic refresh capabilities.

19
0
2 weeks ago
+0 weekly
View

- Library for keeping track of users, login states, and permissions. Uses secure cookies and bcrypt.

14
1
1 month ago
+0 weekly
View

- Library to handle X509 proxy certificates.

9
1
4 weeks ago
+0 weekly
View

- A JWT (JSON Web Token) library for Go.

3
0
1 week ago
+0 weekly
View