Go Authentication and OAuth

Open-source Go projects categorized as Authentication and OAuth

Top 23 Go Authentication and OAuth Projects

  • casbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

  • Project mention: A guide to Auth & Access Control in web apps 🔐 | dev.to | 2023-11-07

    https://casbin.org/ (multiple approaches, multiple languages, provider) Open source authZ library that has support for many access control models (ACL, RBAC, ABAC, …) and many languages (Go, Java, Node.js, JS, Rust, …). While somewhat complex, it is also powerful and flexible. They also have their Casdoor platform, which is authN and authZ provider.

  • oauth2

    Go OAuth2

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • goth

    Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.

  • Ory Keto

    Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

  • Project mention: Create NestJS libraries to interact with Ory API | dev.to | 2024-05-11

    keto-client-wrapper is also a set of NestJS modules that wraps @ory/client's Permission and Relationship APIs, which are part of Ory Keto

  • authboss

    The boss of http auth.

  • Project mention: Best package for user mangement | /r/golang | 2023-06-11

    is authboss here the best option or there is a better one?

  • go-oauth2-server

    A standalone, specification-compliant, OAuth2 server written in Golang.

  • scs

    HTTP Session Management for Go

  • Project mention: Authentication system using Golang and Sveltekit - Login and Logout | dev.to | 2023-06-04

    Although there are pretty good session managers in the Go ecosystem such as alexedwards/scs, golangcollege/session and gorilla/sessions, we won't use any but using this great guide, we'll write our own. This is to keep our project's dependence on external packages at the barest minimum.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • loginsrv

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

  • jwx

    Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies

  • gologin

    Go login handlers for authentication providers (OAuth1, OAuth2)

  • gorbac

    goRBAC provides a lightweight role-based access control (RBAC) implementation in Golang.

  • oidc

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

  • Project mention: Easy to use OpenID Connect client and server library written for Go | /r/hackernews | 2023-12-04
  • auth

    Authenticator via oauth2, direct, email and telegram (by go-pkgz)

  • paseto

    Platform-Agnostic Security Tokens implementation in GO (Golang) (by o1egl)

  • go-guardian

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

  • permissions2

    :closed_lock_with_key: Middleware for keeping track of users, login states and permissions

  • jeff

    🍍Jeff provides the simplest way to manage web sessions in Go.

  • jwt-auth

    This package provides json web token (jwt) middleware for goLang http servers (by adam-hanna)

  • httpauth

    HTTP Authentication middlewares

  • branca

    :key: Secure alternative to JWT. Authenticated Encrypted API Tokens for Go.

  • webauthn

    Go package for easy WebAuthn integration (by koesie10)

  • otpgen

    Library to generate TOTP/HOTP codes

  • yubigo

    Yubigo is a Yubikey client API library that provides an easy way to integrate the Yubico Yubikey into your existing Go-based user authentication infrastructure.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Authentication and OAuth related posts

  • Should I Use jwts For Authentication Tokens?

    7 projects | news.ycombinator.com | 27 May 2024
  • Show HN: Blueprint for a distributed multi-region IAM with Go and CockroachDB

    4 projects | news.ycombinator.com | 8 Aug 2023
  • Show HN: Open-source IAM Ory Kratos v1.0 with Passkeys, MFA and multi-region

    2 projects | news.ycombinator.com | 13 Jul 2023
  • how to design database for Access Control Privileges ?

    1 project | /r/node | 11 Jul 2023
  • Understanding Google Zanzibar and Why Shines at Building Permissions

    4 projects | news.ycombinator.com | 25 Jun 2023
  • A Go project with AWS (SNS, SQS, Lambda)

    3 projects | dev.to | 20 Jun 2023
  • Best package for user mangement

    1 project | /r/golang | 11 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Authentication and OAuth projects in Go? This list will help you:

Project Stars
1 casbin 17,020
2 oauth2 5,185
3 goth 5,093
4 Ory Keto 4,649
5 authboss 3,716
6 go-oauth2-server 2,099
7 scs 1,987
8 loginsrv 1,915
9 jwx 1,810
10 gologin 1,779
11 gorbac 1,567
12 oidc 1,218
13 auth 940
14 paseto 813
15 go-guardian 531
16 permissions2 507
17 jeff 260
18 jwt-auth 233
19 httpauth 219
20 branca 171
21 webauthn 165
22 otpgen 133
23 yubigo 125

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com