Authentication and Authorization
Libraries for implementing authentication and authorization.
Repos
311
Stars
278,743
Last 30 days
+3,083
More
Internet-scale OpenID Certified™ OpenID Connect and OAuth2.1 provider that integrates with your user management through headless APIs. Solve OIDC/OAuth2 user cases over night. Consume as a service on Ory Network or self-host. Trusted by OpenAI and many others for scale and security. Written in Go.
Created May 2015
🔐 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
A standalone, specification-compliant, OAuth2 server written in Golang.
Created Nov 2015
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
JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..
Created Nov 2016
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
A standalone OAuth2 & SSO server based on go-oauth2
Created Mar 2020
A modern, production-ready Go REST API for authentication and authorization, featuring social login, email verification, JWT, and Redis integration.
Created Jun 2025
Tyk Authentication Proxy for third-party login
Created Dec 2015
PAM module connecting to Keycloak for user authentication using OpenID Connect/OAuth2, with MFA/2FA/TOTP support
Created Feb 2021
OAuth 2.0 & OIDC Auth Server and Identity Provider
Created Nov 2024
This is a sample repository for doing Google OAuth in Go with a Web App
Created Nov 2016
LibreGraph Connect implements an OpenID provider (OP) with integrated web login and consent forms.
Created Jun 2021
Package goth_fiber provides a simple, clean, and idiomatic way to write authentication packages for fiber framework applications.
Created Apr 2020
keyauth是一个微服务权限治理中心, 提供用户认证与授权管理
Created Nov 2019
Simple authentication and authorization service
Created May 2020
Simple and easy to use authentication library for Golang
Created Dec 2025
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
Allows Linux user authentication to OAuth2 via pam_exec
Created Mar 2017 Archived
Simplifying the oauth2 auth flow for desktop / cli apps that have no server side.
Created Jun 2017 Archived
From awesome-go (MIT), plus repos sorted by Jev.