Go oauth2

Open-source Go projects categorized as oauth2

Top 9 Go oauth2 Projects

  1. 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: Show HN: Graceful token refresh for open source OAuth2 Server Ory Hydra | news.ycombinator.com | 2025-01-21
  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. authentik

    The authentication glue you need.

    Project mention: Down the Rabbit Hole of creating a Home Lab | dev.to | 2025-04-23

    Authentik - Open-source Identity Provider focused on flexibility and versatility.

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

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

    SaaSHub logo
  10. 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.

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

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

Index

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

# Project Stars
1 Ory Hydra 16,170
2 authentik 16,199
3 oauth2 3,447
4 go-oauth2-server 2,129
5 Golang API Starter Kit 950
6 goiabada 150
7 auth-server 76
8 connectivly 11
9 Ferrum 6

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?