← All Go categories

Authentication and Authorization Go Libraries Ranking

Libraries for implementing authentication and authorization.

41 repositories, updated daily.

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

20.4K
1.8K
Yesterday
+10 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
444
Yesterday
+3 weekly
View

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

7.1K
425
Yesterday
+26 weekly
View

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

6.6K
629
2 days ago
+6 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
+0 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.8K
500
Yesterday
+47 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
389
Yesterday
+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
223
5 days ago
-1 weekly
View

- Session Manager for HTTP servers.

2.6K
205
6 days ago
+0 weekly
View

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

2.4K
195
2 days ago
+0 weekly
View

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

2.0K
147
2 days ago
+1 weekly
View

- Golang OAuth2 server library.

1.9K
394
3 weeks ago
+0 weekly
View

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

1.9K
148
1 month ago
+0 weekly
View

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

1.9K
222
2 days ago
+5 weekly
View

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

1.7K
180
1 week ago
+0 weekly
View

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

941
39
3 weeks ago
+0 weekly
View

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

689
46
1 week 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.

535
135
2 days ago
+1 weekly
View

- Lightweight JSON Web Token (JWT) library.

361
24
2 months ago
+0 weekly
View

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

270
16
1 month 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.

255
18
Yesterday
-1 weekly
View

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

237
41
1 month ago
+0 weekly
View

for Golang 1.15+.

236
7
3 weeks ago
+0 weekly
View

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

203
19
Yesterday
+1 weekly
View

- Library to generate TOTP/HOTP codes.

146
12
4 days ago
+1 weekly
View

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

132
7
2 months ago
+0 weekly
View

- Simple jwt generator and parser.

123
9
2 months ago
+0 weekly
View

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

119
15
2 months ago
+0 weekly
View

- Compiles OpenFGA authorization schemas into PL/pgSQL functions that run fine-grained relationship-based access control checks inside PostgreSQL.

95
8
1 week ago
+1 weekly
View

- Efficient secure cookie encoding/decoding.

87
13
2 months ago
+0 weekly
View

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

80
11
2 months ago
+0 weekly
View

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

77
10
7 months ago
+0 weekly
View

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

48
10
1 week ago
-1 weekly
View

- Easily Manage OAuth2 Scopes In Go.

44
8
4 weeks ago
+0 weekly
View

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

34
7
Yesterday
+0 weekly
View

- provides a parser of cookies.txt file format.

24
7
2 months ago
+0 weekly
View

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

19
0
2 months ago
+0 weekly
View

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

14
1
2 weeks ago
+0 weekly
View

- Library to handle X509 proxy certificates.

9
1
2 months ago
+0 weekly
View

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

3
0
1 week ago
+0 weekly
View