Categories

Authentication and Authorization

Libraries for implementing authentication and authorization.

Repos

311

Stars

278,743

30 days

+3,083

golang-jwt

Go implementation of JSON Web Tokens (JWT).

Created May 2021

auth ed25519 go golang jwt
Total 9,281
30 days +33
o1egl

Platform-Agnostic Security Tokens implementation in GO (Golang)

Created Jan 2018

auth authentication decoder encoder go
Total 940
30 days +0
shaj13

Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.

Created May 2020

2fa auth authentication authenticator bearer-tokens
Total 613
30 days +0

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

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

Modern, composable authentication for Go

Created Aug 2025

api-key auth authentication better-auth golang
Total 573
30 days +25
apache

Casbin as a Service (CaaS)

Created Aug 2018

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

基于gf框架的token插件,通过服务端验证方式实现token认证;

Created Jun 2019

auth gf golang token
Total 315
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
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
casdoor

Go client SDK for Casdoor

Created May 2021

auth authentication authn casdoor go
Total 130
30 days +3
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
reugn

Simple authentication and authorization service

Created May 2020

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

🔩 Middleware for keeping track of users, login states and permissions

Created May 2015

auth bcrypt bolt-database boltdb middleware
Total 88
30 days +0
octohedron

Example for getting JWT tokens in go

Created May 2017

auth example golang json jwt
Total 78
30 days +0
MadAppGang

Universal authentication framework for web, created with go

Created Jul 2018

auth authentication golang login user
Total 66
30 days +0
xyproto

🔏 Middleware for keeping track of users, login states and permissions

Created Jan 2015

auth go mariadb mysql permissions
Total 60
30 days +0
iegomez

Auth plugin for mosquitto.

Created Nov 2017 Archived

auth authentication authorization mosquitto mqtt
Total 604
30 days +0

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