Go oauth2

Open-source Go projects categorized as oauth2

Top 9 Go oauth2 Projects

  1. authentik

    The authentication glue you need.

    Project mention: Frequent reauth doesn't make you more secure | news.ycombinator.com | 2025-06-12

    I set up Authentik[^1] on my NAS in a docker container and went from there! Just had to add a .well-known webfinger file to my domain that pointed to the Authentik instance and it "just worked" with Tailscale.

    [^1]: https://goauthentik.io/

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Ory Hydra

    The only web-scale, fully customizable OpenID Certified™ OpenID Connect and OAuth2 Provider in the world. Become an OpenID Connect and OAuth2 Provider over night. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters. Relied upon by OpenAI and others for web-scale security.

    Project mention: Cloudlflare builds OAuth with Claude and publishes all the prompts | news.ycombinator.com | 2025-06-02

    Very impressive, and at the same time very scary because who knows what security issues are hidden beneath the surface. Not even Claude knows! There is very reliable tooling like https://github.com/ory/hydra readily available that has gone through years of iteration and pentests. There are also lots of libraries - even for NodeJS - that have gone through certification.

    In my view this is an antipattern of AI usage.

  4. oauth2

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

  5. go-oauth2-server

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

  6. Golang API Starter Kit

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

  7. goiabada

    Goiabada is an OAuth2 / OpenID Connect server written in Go.

  8. auth-server

    Simple authentication and authorization service

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. Ferrum

    Simple and Fast OpenId-Connect authorization server with Keycloak compatible API written in GO. The possibility to increase application clients number and authentication/authorization speed without any modification due to the API compatibility (by Wissance)

    Project mention: Override Go app configuration with Environment variable | dev.to | 2024-12-12

    This approach and package could be used not only for containerized applications but for apps running natively too. This package is successfully working on our authorization server.

  11. connectivly

    Add OAuth + OIDC to your app with a single callback

    Project mention: Ask HN: What are you working on (September 2024)? | news.ycombinator.com | 2024-09-29

    I built a service that lets you bolt an oauth/oidc provider onto your app with a single callback. https://github.com/poundifdef/connectivly

    It lets you use whatever you’re already doing for auth, and lets you become an oauth provider, or issue tokens instead of people passing API keys, on top of that.

    The more interesting aspect of that you could use it to bolt on an entire app store or ecosystem on top of your existing product or api.

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 oauth2 discussion

Log in or Post with

Go oauth2 related posts

  • Issues with authentik

    1 project | /r/NixOS | 7 Jul 2023
  • Authentik + Cloudflare + Nginx = 500 error

    2 projects | /r/selfhosted | 5 Jul 2023
  • Server Security

    1 project | /r/KavitaManga | 2 Jul 2023
  • Authentik with Docker swarm

    1 project | /r/selfhosted | 30 May 2023
  • Architecting a good homelab ingress

    1 project | /r/CloudFlare | 29 May 2023
  • Authentik: Open-source Identity Provider focused on flexibility and versatility

    1 project | news.ycombinator.com | 26 May 2023
  • Two months into self hosting

    1 project | /r/selfhosted | 17 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Sep 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 authentik 17,915
2 Ory Hydra 16,473
3 oauth2 3,526
4 go-oauth2-server 2,129
5 Golang API Starter Kit 963
6 goiabada 156
7 auth-server 81
8 Ferrum 24
9 connectivly 11

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?