Go Oauth2

Open-source Go projects categorized as Oauth2

Top 23 Go Oauth2 Projects

  • 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: Ask HN: Freelancer? Seeking freelancer? (July 2023) | news.ycombinator.com | 2023-07-03

    For examples of my work see my contributions to Ory Hydra https://github.com/ory/hydra.

    I'd be more than happy to talk about how I can bring value to your project. Let's have a conversation!

  • casdoor

    An open-source Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, WebAuthn, TOTP and MFA

    Project mention: Casdoor: Open source Payment Gateway (PayPal, Stripe), SSO and SaaS subscription management platform in Golang | /r/golang | 2023-09-16
  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • oauth2

    Go OAuth2

    Project mention: How to Authenticate a CLI Using OAuth and GitHub in Golang | /r/golang | 2023-03-22

    The guide covers setting up GitHub, using the golang.org/x/oauth2 package, and handling OAuth authentication. The code snippets are easy to follow and can be modified to fit your project's needs.

  • zitadel

    ZITADEL - The best of Auth0 and Keycloak combined. Built for the serverless era.

    Project mention: Zitadel v2.33.0 – SMS/Email OTP and Custom SAML Attributes | news.ycombinator.com | 2023-08-21
  • authentik

    The authentication glue you need.

    Project mention: Issues with authentik | /r/NixOS | 2023-07-07

    Hello ! I am hosting a server under NixOS with multiple services, and to simply the identity management, I use authentik (https://goauthentik.io/) which can be compared to keycloak. Everything works fine until I try to enable mastodon to host an instance : authentik returns an error 400 and nothing changes this but disabling mastodon. Does anyone have an idea of what could be the cause of this ?

  • timeliner

    All your digital life on a single timeline, stored locally

    Project mention: I Ditched Google Photos | news.ycombinator.com | 2023-08-31

    Heya! I'm the author of PhotoStructure, and my Google Photos account (before I started working on PhotoStructure) is about that size, too.

    I wrote up some tips here: https://photostructure.com/faq/takeout/

    This is what I did:

    1. First try to fetch all your Google Photos via Takeout in one archive. If it fails (like it did for me), try different-sized .tgz archives. I had to use the 10 Gb option (using 50gb caused an internal-to-google error).

    If that fails to work, the last resort is to manually create by-year albums, shove all photos from that year into that album, and do a takeout of just that album. Repeat as necessary for every year.

    2. Install an app on your phone to *directly* upload the original photos and videos from your phone to your NAS/home server. I have several recommended apps here: https://photostructure.com/faq/how-do-i-safely-store-files/#...

    At this point, you can still use Google Photos (for viewing and as a last-ditch backup), but your originals are safe (without all the Google Photo downsampling and metadata shenanigans), and you're free to use whatever self-hosted software you want (like PhotoStructure, but there are a ton of alternatives, as well).

    FWIW, I also tried this software: https://github.com/mholt/timeliner -- it does what it can, but the files you get via the API has a bunch of metadata stripped from it. I even had captured-at times get mangled with older photos.

  • Ory Oathkeeper

    A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • oauth2

    OAuth 2.0 server library for the Go programming language. (by go-oauth2)

    Project mention: How to build Auth in 2023 with go? | /r/golang | 2023-05-31

    Use a pre-existing OAuth2 server. If you want something in go to deal with that, I found https://github.com/go-oauth2/oauth2 on Google as the first result.

  • vouch-proxy

    an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

    Project mention: I'm looking for an SSO server/reverse proxy with features I'm not sure exist | /r/selfhosted | 2023-06-23
  • 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

  • go-oauth2-server

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

  • loginsrv

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

  • traefik-forward-auth

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

    Project mention: Authentik reverse proxy vs swag | /r/selfhosted | 2023-07-07

    BTW also keycloak and other similar products offer the oauth-proxy capability, I even used the original oauth2-proxy https://github.com/oauth2-proxy/oauth2-proxy for a while, but it was getting too difficult to maintain for me. I used for a while https://github.com/thomseddon/traefik-forward-auth that was a smart hack configuring a single upstream provider, but it look abandoned. So I was considering authentik but apparently it's just oauth2-proxy embedded in it, at that point why not use oauth2-proxy directly.

  • authorizer

    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.

    Project mention: Authorizer, an open source authentication and authorization solution | news.ycombinator.com | 2023-09-12
  • caddy-security

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

    Project mention: Security flaws in an SSO plugin for Caddy | news.ycombinator.com | 2023-09-18

    > September 18, 2023: The disclosure blog post was released and issues were filed with the original project repository.

    I don't see those issues listed in the GitHub project issue tracker https://github.com/greenpau/caddy-security/issues. Have they been deleted?

  • Golang API Starter Kit

    Go Server/API boilerplate using best practices DDD CQRS ES gRPC

  • auth

    Authenticator via oauth2, direct, email and telegram

    Project mention: How to build Auth in 2023 with go? | /r/golang | 2023-05-31
  • oidc

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

    Project mention: Are there any OIDC Provider libraries for Golang? | /r/golang | 2023-05-15

    I started with https://github.com/zitadel/oidc/tree/main/example/server/storage

  • oauth2c

    User-friendly OAuth2 CLI

    Project mention: CLI for OAuth 2.0 | /r/hypeurls | 2022-12-09
  • restish

    Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

  • go-starter

    An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.

  • ganymede

    Twitch VOD and Live Stream archiving platform. Includes a rendered and real-time chat for each archive.

    Project mention: Tracker with streamers vods | /r/trackers | 2023-03-12

    2) Tools such as LiveStreamDVR or Ganymede. I personally use LiveStreamDVR primarily and have used Ganymede if I want to archive an entire channel with realtime chat and a theater-like video playback. The way I use LivestreamDVR is auto capturing the stream and once it ends edit the video how I want and export it to a YouTube channel that archives all of the person's vods. If you want a cleaner approach where everything is done for you I'd suggest Ganymede.

  • dexter

    dexter is a Kubernetes OIDC helper with as much automation as possible (by gini)

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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 2023-09-18.

Go Oauth2 related posts


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

Project Stars
1 Ory Hydra 14,427
2 casdoor 7,018
3 oauth2 4,883
4 zitadel 4,653
5 authentik 4,572
6 timeliner 3,443
7 Ory Oathkeeper 3,033
8 oauth2 2,980
9 vouch-proxy 2,433
10 fosite 2,142
11 go-oauth2-server 2,047
12 loginsrv 1,900
13 traefik-forward-auth 1,889
14 authorizer 1,144
15 caddy-security 950
16 Golang API Starter Kit 819
17 auth 800
18 oidc 697
19 oauth2c 674
20 restish 526
21 go-starter 382
22 ganymede 289
23 dexter 163
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.