Authentication and Authorization
Libraries for implementing authentication and authorization.
Repos
311
Stars
278,743
Last 30 days
+3,083
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
More
The tiniest OpenID Certified™ authorization and authentication server you have ever seen.
Created Jan 2025
🔐 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
Open source Auth0/Keycloak alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud. Enterprise-ready for SaaS & mobile apps
Created Jun 2020
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
Middleware for Gin Framework users who also want to use OAuth2
Created Sep 2015
ThunderID, an LF Decentralized Trust project, is a high-performance, open-source identity stack designed for developers to secure and manage access for humans, AI agents, and machines through fully composable identity flows.
Created May 2025
Modern, composable authentication for Go
Created Aug 2025
Highflame ZeroID: Autonomous Agent Identity Management System (AAIMS)
Created Mar 2026
Time-Based One-Time Password Code Generator
Created May 2019
Auth0 Integration Samples for Go Web Applications
Created Oct 2016
Auth0 Integration Samples for Go REST API Services
Created Oct 2016
Straightforward HTTP session management
Created Jul 2019
A modern, production-ready Go REST API for authentication and authorization, featuring social login, email verification, JWT, and Redis integration.
Created Jun 2025
Go client SDK for Casdoor
Created May 2021
OAuth 2.0 & OIDC Auth Server and Identity Provider
Created Nov 2024
Authentication middleware for Connect.
Created Oct 2023
Examples of client authentication with gRPC
Created Jul 2018
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
This library implements an Authentication handler for the Akamai OPEN EdgeGrid Authentication scheme
Created Apr 2016
An example of session based authentication in Go
Created Mar 2018
keyauth是一个微服务权限治理中心, 提供用户认证与授权管理
Created Nov 2019
Simple authentication and authorization service
Created May 2020
Authorization and authentication service.
Created Apr 2015
Universal authentication framework for web, created with go
Created Jul 2018
Simple and easy to use authentication library for Golang
Created Dec 2025
Official Stytch Backend SDK for Go
Created Nov 2020
MachineAuth provides authentication and permission infrastructure that allows AI agents to securely access APIs, tools, and services.
Created Feb 2026
Transactional email magic link and One-Time Password (OTP) authentication platform. Sign up, log in, password resets, email verification, and more.
Created Mar 2023
Gortas is an API based authentication service, allows adding authentication to your site or service with minimum efforts.
Created May 2020
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
Auth plugin for mosquitto.
Created Nov 2017 Archived
Authentication for Hasura.
Created Jun 2021 Archived
From awesome-go (MIT), plus repos sorted by Jev.