Authentication and OAuth

Libraries for implementing authentications schemes.

Newest releases

citilinkru Library to integrate github.com/google/uuid with gopkg.in/vmihailenco/msgpack
 

golang-jwt A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens.
 

harranali Authority - Role Based Access Control (RBAC) Go package with database persistence
 

Kuzyashin Validate Django auth session in Golang
 

authelia Authelia is an open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal. It acts as a companion of reverse proxies like nginx, Traefik or
 

thomseddon Minimal forward authentication service that provides Google/OpenID oauth based login and authentication for the traefik reverse proxy
 

cli A library for Go client applications that need to perform OAuth authorization against a server, typically GitHub.com.
 

grafeas Voucher – Attestations for Binary Authorization
 

oauth2-proxy OAuth2 Proxy - A reverse proxy that provides authentication with Google, Github or other providers
 

github This is a service that communicates with spire-agent to fetch and validate JWT-SVIDs sent to it over HTTP, usually from envoy using ext_authz.
 

buzzfeed sso See our launch blog post for more information! sso —lovingly known as the S.S. Octopus or octoboi — is the authentication and authorization system BuzzFeed developed to provide a secure, sing
 

nerney Basic LDAP client for Go LDAP is complicated. Many times, all you really need to do is authenticate users with it. This package boils down LDAP functionality to User Authentication, that's it. Thanks to https://gi
 

ericchiang go-past A Go implementation of Platform-Agnostic Security Tokens (PAST), "a secure alternative to JWT." Warning This package still needs to be check for conformance against the original PHP implementaiton
 

brancz kube-rbac-proxy NOTE: This project is alpha stage. Flags, configuration, behavior and design may change significantly in following releases. The kube-rbac-proxy is a small HTTP proxy for a single upstream, that
 

danilopolani Gocialite Gocialite is a Socialite inspired package to manage social oAuth authentication without problems. The idea was born when I discovered that Goth is not so flexible: I was using Revel and it was impossibl
 

rsc 2fa is a two-factor authentication agent. Usage: go get -u rsc.io/2fa 2fa -add [-7] [-8] [-hotp] name 2fa -list 2fa name 2fa -add name adds a new key to the 2fa keychain with the given name. It prints a prompt to standard err
 

keratin Keratin AuthN A modern authentication backend service. (https://keratin.tech) Related This repository builds a backend Go service that provides secured endpoints related to accounts and passwords. You mus
 

dhax Go Restful API Boilerplate Easily extendible RESTful API boilerplate aiming to follow idiomatic go and best practice. The goal of this boiler is to have a solid and structured foundation to build upon on. Any feedb
 

qor Auth Auth is a modular authentication system for web development in Golang, it provides different authentication backends to accelerate your development. Currently Auth has database password, github, google, facebook,
 
Popular
11.6k

ory Chat | Forums | Newsletter Guide | API Docs | Code Docs Support us on patreon! ORY Hydra is a hardened OAuth2 and OpenID Connect server optimized for low-latency, high throughput, and low resource consumption. O
 

hemantasapkota djangobot Curl for Django. Make authenticated requests to a Django server. How does it work ? Django authentication relies on two cookies: csrftoken and sessionid. Once you accquire these cookies, you can ma
 

ory Ladon is the serpent dragon protecting your resources. Ladon is a library written in Go for access control policies, similar to Role Based Access Control or Access Control Lists. In contrast to ACL and RBAC yo
 

tarent loginsrv loginsrv is a standalone minimalistic login server providing a JWT login for multiple login backends. Abstract Loginsrv provides a minimal endpoint for authentication. The login is performed ag
 

piotrkowalczuk Charon Quick Start Installation $ go install github.com/piotrkowalczuk/charon/cmd/charond $ go install github.com/piotrkowalczuk/charon/cmd/charonctl Superuser $ charonctl
 

GeertJohan yubigo Yubigo is a Yubikey client API library that provides an easy way to integrate the Yubikey into any Go application. Installation Installation is simple. Use go get: go get github.com/GeertJohan/yubigo
 

xyproto Permissions2 Middleware for keeping track of users, login states and permissions. Online API Documentation godoc.org Features and limitations Uses secure cookies and stores user information
 

dgrijalva jwt-go A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens NEW VERSION COMING: There have been a lot of improvements suggested since the version 3.0.0 released in 2016. I'm working no
 

goji goji/httpauth httpauth currently provides HTTP Basic Authentication middleware for Go. It is compatible with Go's own net/http, goji, Gin & anything that speaks the http.Handler interface. Example http
 

markbates Goth: Multi-Provider Authentication for Go Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications. Unlike other similar packages, Goth, lets you write OAuth
 

mikespook goRBAC goRBAC provides a lightweight role-based access control implementation in Golang. For the purposes of this package: * an identity has one or more roles. * a role requests access to a permission. * a permiss
 

dghubble gologin Package gologin provides chainable login http.Handler's for Google, Github, Twitter, Facebook, Bitbucket, Tumblr, or any OAuth1 or OAuth2 authentication providers. Choose a subpackage. Register the LoginHan
 

bradrydzewski go.auth an http authentication API for the Go programming language. Integrates with 3rd party auth providers to add security to your web application. go get github.com/dchest/authcookie go get github.com/bradrydzewski/
 

square Go JOSE Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. This includes support for JSON Web Encryption, JSON Web Signature, and JSON Web Token standa