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: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. | dev.to | 2024-04-30

    Tailscale - Built on WireGuard. Easy to use. Control server is closed source. Client code available with a BSD3 license + separate patents file.

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

    Authentication and user management system with passkey superpowers

  • Project mention: Ask HN: Simple Auth for Website | news.ycombinator.com | 2024-04-23

    I get what you are trying to do, but it feels a bit insecure. Why not use an OSS passwordless project like https://github.com/supertokens/supertokens-core/ or https://github.com/teamhanko/hanko

  • 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

  • SaaSHub

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

    SaaSHub logo
  • 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).

Go OAuth related posts

  • How to update Go version of tailscaled on macOS

    1 project | dev.to | 22 Mar 2024
  • Show HN: Open-source OAuth2 server Ory Hydra now 6x faster

    1 project | news.ycombinator.com | 13 Feb 2024
  • πŸ›‘οΈ4 Top Database Security Tools in 2024 πŸ†πŸ”₯

    4 projects | dev.to | 1 Feb 2024
  • I have made a smalll NAS server using samba. What is the port to fwd to get to it externally

    1 project | /r/linuxquestions | 11 Dec 2023
  • Remote Printing

    1 project | /r/Tailscale | 11 Dec 2023
  • SSH configuration

    1 project | /r/archlinux | 11 Dec 2023
  • Loss of remote access

    1 project | /r/emby | 10 Dec 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 20 May 2024
    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. Learn more β†’

Index

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

Project Stars
1 casbin 16,948
2 tailscale 16,862
3 Ory Hydra 15,136
4 hanko 5,451
5 cli 3,506
6 S.S.Octopus 3,063
7 fosite 2,260
8 oidc 1,202
9 oauth2c 714
10 keycloak-ext-operator 22
11 basic-auth-gin 13
12 disgoauth 9
13 gotrxx 3

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