How to build Auth in 2023 with go?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • auth

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

  • oauth2

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

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

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

    The authentication glue you need.

  • I like this one: https://goauthentik.io/

  • zitadel

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

  • Open Source Services - There are quite a few out there. It might be worth to take a look at ZITADEL(https://zitadel.com/), which is also written in go. It's an open-source IAM tool with a decent feature set and it's designed to work well with cloud-native projects. The UI is responsive and can be tailored to your needs. Also, if you're looking at just adding a simple login, it's quite straightforward - https://www.youtube.com/watch?v=5THbQljoPKg

  • goth

    Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.

  • Also really easy to implement as there are libraries that do all the heavy lifting for you (https://github.com/markbates/goth is a great starting place IMHO)

  • oauth2-proxy

    A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.

  • Like auth basic? Mate, its 2023 get that RestAPI endpoint behind an OAuth proxy. github.com/oauth2-proxy/oauth2-proxy is a good one on a budget or use some cloud provider's ApiGateway and IAM services.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Keycloak vs. Authentik vs. Authelia, help choose SSO

    10 projects | /r/selfhosted | 25 May 2023
  • Keycloak with PostgreSQL on Kubernetes

    8 projects | news.ycombinator.com | 10 Apr 2023
  • looking for a self host option for auth

    2 projects | /r/selfhosted | 7 Apr 2022
  • Authentication server for specific routes

    2 projects | /r/selfhosted | 1 Feb 2022
  • Authentik is the easy Single Sign On tool we all need!

    8 projects | /r/selfhosted | 22 Nov 2021