Go OAuth

Open-source Go projects categorized as OAuth
Topics: Oauth2 SSO Go Oidc JWT

Top 13 Go 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.

  • tailscale

    The easiest, most secure way to use WireGuard and 2FA.

    Project mention: Building a Managed Service Provider Business With Open Source | dev.to | 2024-04-04

    Tailscale

  • 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.

  • Ory Hydra

    OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.

    Project mention: Show HN: Open-source OAuth2 server Ory Hydra now 6x faster | news.ycombinator.com | 2024-02-13
  • hanko

    Customer Identity and Access Management for the passkey era

    Project mention: 🚀 Top 12 Open Source Auth Projects Every Developer Should Know 🔑 | dev.to | 2023-12-06

    Hanko.io

  • cli

    🧰 A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc. (by smallstep)

    Project mention: Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30 | news.ycombinator.com | 2024-01-18

    https://github.com/smallstep/cli implements some OAuth flows from the CLI, it may be helpful for you.

  • S.S.Octopus

    sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services

  • fosite

    Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.

    Project mention: Golang library for AuthN/AuthZ | /r/golang | 2023-06-06

    You can take a look to https://github.com/ory/fosite

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • 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
  • oauth2c

    User-friendly OAuth2 CLI

  • keycloak-ext-operator

    Creates OAuth clients in Keycloak and creates corresponding secrets in kubernetes

  • basic-auth-gin

    Basic-auth-gin v1 🚀 is a swift RESTful API framework built atop the Gin Framework 🌐 and MongoDB 🗄️. It boasts JWT authentication middleware 🔐, Google OAuth API, SendGrid email API 📧, and SSL support 🔒. Designed for ease of use with environment variable support 🌍, it can be quickly installed and tested using make commands ⚙️.

  • disgoauth

    Easy-to-use Discord OAuth2.0 Implementation for Go

  • gotrxx

    gotrxx is a OAuth2 authorization server written in go, with support for Authorization Code Grant with PKCE, Client Credentials Grant and Password Grant.

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). The latest post mention was on 2024-04-04.

Go OAuth related posts

Index

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

Project Stars
1 casbin 16,791
2 tailscale 16,315
3 Ory Hydra 15,043
4 hanko 5,376
5 cli 3,468
6 S.S.Octopus 3,056
7 fosite 2,245
8 oidc 1,176
9 oauth2c 709
10 keycloak-ext-operator 22
11 basic-auth-gin 13
12 disgoauth 9
13 gotrxx 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com