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
lestrrat-go

Complete implementation of JWx (Javascript Object Signing and Encryption/JOSE) technologies for Go. #golang #jwt #jws #jwk #jwe

Created Nov 2015

go golang jwe jwk jws
Total 2,445
30 days +5
zitadel

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

Created Nov 2019

certified client code-flow code-flow-pkce discovery
Total 1,927
30 days +18
o1egl

Platform-Agnostic Security Tokens implementation in GO (Golang)

Created Jan 2018

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

Safe, simple and fast JSON Web Tokens for Go

Created Jul 2019

dependency-free go golang golang-library jose
Total 687
30 days +0
pascaldekloe

JSON Web Token library

Created Mar 2018

bearer-authentication bearer-authorization bearer-tokens ecdsa ed25519
Total 361
30 days +0
brianvoe

Simple JWT Golang

Created Jun 2019

authentication golang jsonwebtoken jwt simple
Total 123
30 days +0
essentialkaos

Authenticated encrypted API tokens (IETF XChaCha20-Poly1305 AEAD) for Golang

Created Dec 2018

branca golang jwt tokens
Total 100
30 days +0

More

teamhanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

Created Mar 2022

2fa authentication ciam fido2 iam
Total 9,076
30 days +42
netlify

An JWT based API for managing users and issuing JWT tokens.

Created May 2016

authentication jwt production
Total 4,510
30 days +12
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
qvest-digital

JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..

Created Nov 2016

caddy caddyserver github golang htpasswd
Total 1,926
30 days +1
go-pkgz

Authenticator via oauth2, direct, email and telegram

Created Dec 2018

authentication custom-oauth2 go golang jwt
Total 1,356
30 days +2
go-chi

JWT authentication middleware for Go HTTP services

Created Oct 2015

go http jwt jwt-authentication-middleware jwtauth
Total 651
30 days +0
MicahParks

Create a jwt.Keyfunc for JWT parsing with a JWK Set or given cryptographic keys (like HMAC) in Golang.

Created Mar 2021

go golang jwk jwks jwkset
Total 419
30 days +3
highflame-ai

Highflame ZeroID: Autonomous Agent Identity Management System (AAIMS)

Created Mar 2026

agent-authentication ai-agents authentication credentials golang
Total 214
30 days +11
hako

๐Ÿ”‘ Secure alternative to JWT. Authenticated Encrypted API Tokens for Go.

Created Jan 2018

api api-token branca crypto cryptography
Total 175
30 days +0
gavin0x00

ginๅŸบไบŽJWTๅฎž็Žฐtokenไปค็‰ŒๅŠŸ่ƒฝdemo

Created Sep 2018

gin jwt
Total 156
30 days +0
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
casdoor

Go client SDK for Casdoor

Created May 2021

auth authentication authn casdoor go
Total 130
30 days +3
ggicci

๐Ÿ†” Caddy Module JWT Authentication

Created Jun 2021

authentication caddy-authentication caddy-module jwt jwt-authentication
Total 126
30 days +1
johanbrandhorst

Examples of client authentication with gRPC

Created Jul 2018

authentication authorization client grpc jwt
Total 102
30 days +1
micro-company

Auth micro-service

Created Sep 2017

authentication golang jwt microservice
Total 86
30 days +1
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
octohedron

Example for getting JWT tokens in go

Created May 2017

auth example golang json jwt
Total 78
30 days +0
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
josuebrunel

Simple and easy to use authentication library for Golang

Created Dec 2025

authentication betterauth easy go golang
Total 65
30 days +2
fdhhhdjd

๐Ÿ” GO, Gin, Docker, PG, Redis, RabbitMQ, Firebase, JWT,...

Created May 2024

docker firebase gin-framework golang jwt
Total 59
30 days +0
MicahParks

Transactional email magic link and One-Time Password (OTP) authentication platform. Sign up, log in, password resets, email verification, and more.

Created Mar 2023

authentication authentication-backend authentication-server authentication-service authn
Total 51
30 days +0
iammukeshm

Implementing JWT Authentication in Golang REST APIs and securing it with Authentication Middleware.

Created Apr 2022

go golang golang-jwt jwt jwt-authentication
Total 51
30 days +0
greenpau

Authentication Plugin for Caddy v2 implementing Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA with App Authenticators and Yubico.

Created Apr 2020 Archived

authentication authentication-backend authentication-middleware authentication-portal caddy
Total 657
30 days +1
gbrlsnchs

Go JWT signing, verifying and validating

Created Feb 2018 Archived

ecdsa-signature ed25519 go go-modules golang
Total 448
30 days +0
nhost

Authentication for Hasura.

Created Jun 2021 Archived

authentication backend email-password-login emails graphql
Total 403
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
google

Credstore is a centralized auth server

Created May 2017 Archived

go grpc grpc-authorization grpc-service jwt
Total 86
30 days +0

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