Go Authentication

Open-source Go projects categorized as Authentication

Top 23 Go Authentication Projects

Authentication
  1. pocketbase

    Open Source realtime backend in 1 file

    Project mention: PocketBase: Open-source back end in 1 file | news.ycombinator.com | 2025-05-14
  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. authelia

    The Single Sign-On Multi-Factor portal for web apps

    Project mention: Authelia: The Single Sign-On Multi-Factor portal for web apps | news.ycombinator.com | 2024-07-11
  4. casbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

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

  6. zitadel

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

    Project mention: Zitadel Supports SCIM | news.ycombinator.com | 2025-02-22
  7. hanko

    The Complete Authentication and User Management Solution for the Passkey Era. Open Source Alternative to Clerk, Auth0, et al.

    Project mention: My Journey with the OSS.GG Hackathon: A Fulfilling Open Source Experience | dev.to | 2024-10-28

    Participating in the OSS.GG hackathon has been an exciting and enriching experience. Engaging with projects from multiple partners like Dub, Formbricks, Hanko, OpenBB, Papermark, Twenty, and Unkey offered me the opportunity to explore the vast landscape of open source. Through this hackathon, I didn’t just contribute to code; I also got hands-on experience in non-code contributions, which opened up new avenues for collaboration and learning.

  8. go-grpc-middleware

    Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.

  9. SaaSHub

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

    SaaSHub logo
  10. gotrue

    An SWT based API for managing users and issuing SWT tokens.

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

  12. S.S.Octopus

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

  13. vouch-proxy

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

    Project mention: Caddy – The Ultimate Server with Automatic HTTPS | news.ycombinator.com | 2025-02-16

    With nginx I'm assuming you would use something like Vouch or oauth2-proxy? Something like the architecture described here:

    https://github.com/vouch/vouch-proxy?tab=readme-ov-file#what...

    Can't speak for caddy-security, but the forward_auth feature is the caddy equivalent to nginx's auth_request

  14. fosite

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

  15. auth

    A JWT based API for managing users and issuing JWT tokens (by supabase)

    Project mention: Launch HN: Stack Auth (YC S24) – An Open-Source Auth0/Clerk Alternative | news.ycombinator.com | 2024-08-08

    This is great. Competition is definitely needed in the Authentication/Authorization space.

    Quick question. How would this compare to supabase/gotrue [0] and permify [1]?

    [0]: https://github.com/supabase/auth

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

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

  18. docker_auth

    Authentication server for Docker Registry 2

  19. firebase-admin-go

    Firebase Admin Go SDK

  20. auth

    Authenticator via oauth2, direct, email and telegram (by go-pkgz)

  21. centrifuge

    Real-time messaging library for Go. The simplest way to add feature-rich and scalable WebSocket support to your application. The core of Centrifugo server.

    Project mention: Centrifugo v6 released – major update of scalable WebSocket server written in Go | news.ycombinator.com | 2025-01-16

    Hi everyone!

    I'd like to share that we've just released Centrifugo v6 - a major update of scalable WebSocket server. The release addresses some usability pain points and adds nice features and more observability.

    Centrifugo is an open-source standalone server written in Go – https://github.com/centrifugal/centrifugo. Centrifugo can instantly deliver messages to application online users connected over supported transports (WebSocket, HTTP-streaming, Server-Sent Events (EventSource), GRPC, WebTransport). Centrifugo has the concept of a channel – so it's a user-facing PUB/SUB server. Everything implemented in a language-agnostic way – so Centrifugo can be used in combination with any frontend or backend stack.

    These days we also provide Centrifugo PRO version – and trying to find a balance to be sustainable.

    The server is based on the open-source Centrifuge library - https://github.com/centrifugal/centrifuge, so many improvements mentioned in Centrifugo v6 release blog post (even those for Centrifugo PRO) may be used just as a library in Go application.

    We provide real-time SDKs for popular client environments – for browser and mobile development – they connect to both Centrifuge library based servers and Centrifugo server.

    Generally Centrifugal ecosystem provides a good alternative to Socket.IO and cloud services like Pusher.com and Ably.com

    Will be happy to answer on any questions

  22. gocloak

    golang keycloak client (by Nerzal)

    Project mention: Bringing It All Together: Integrating GraphQL with Gin in Go | dev.to | 2024-06-05

    The final middleware we need to add to our server is authentication. In this example, we'll use Keycloak as our identity provider. To interface with Keycloak in Go, we'll use the gocloak module. By leveraging gocloak, we can perform authentication against Keycloak using Gin middleware.

  23. go-keyring

    Cross-platform keyring interface for Go

  24. paseto

    Platform-Agnostic Security Tokens implementation in GO (Golang) (by o1egl)

  25. pinniped

    Pinniped is the easy, secure way to log in to your Kubernetes clusters.

  26. SaaSHub

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

    SaaSHub logo
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 Authentication discussion

Log in or Post with

Go Authentication related posts

  • PocketBase: Open-source back end in 1 file

    1 project | news.ycombinator.com | 14 May 2025
  • PocketBase: Backend Made Simple

    1 project | dev.to | 14 May 2025
  • Zitadel Supports SCIM

    1 project | news.ycombinator.com | 22 Feb 2025
  • PocketBase + SurrealDB

    2 projects | dev.to | 14 Feb 2025
  • Top 16 DevOps Tools for 2025: (Excellent for SREs, Too!)

    9 projects | dev.to | 11 Feb 2025
  • How (not) to sign a JSON object (2019)

    2 projects | news.ycombinator.com | 9 Feb 2025
  • Building a REST API with Golang, Gin, and Pocketbase

    1 project | dev.to | 21 Jan 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 pocketbase 47,007
2 authelia 23,733
3 casbin 18,594
4 authentik 16,120
5 zitadel 10,603
6 hanko 8,040
7 go-grpc-middleware 6,506
8 gotrue 4,058
9 Ory Oathkeeper 3,353
10 S.S.Octopus 3,112
11 vouch-proxy 3,072
12 fosite 2,391
13 auth 1,896
14 authorizer 1,799
15 caddy-security 1,748
16 docker_auth 1,318
17 firebase-admin-go 1,209
18 auth 1,199
19 centrifuge 1,189
20 gocloak 1,138
21 go-keyring 959
22 paseto 874
23 pinniped 654

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?