Simple web app, how to do auth?

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

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • pocketbase

    Open Source realtime backend in 1 file

    They also just recently have added support for Azure sign-in in their latest release candidate - https://github.com/pocketbase/pocketbase/releases/tag/v0.8.0-rc2

  • dex

    OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • oauth2-proxy

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

  • sqlc

    Generate type-safe code from SQL

    sqlc to save and retrieve them - important thing’s to use parameterized queries.

  • sessions

    Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.

    gorilla/sessions to manage user sessions.

  • Keycloak

    Open Source Identity and Access Management For Modern Applications and Services

    IMO Keycloak is pretty nice, like an open source Auth0: https://www.keycloak.org/

  • htmx

    </> htmx - high power tools for HTML

    I guess I will use sqlboiler for the logic and htmx.org for the GUI.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • authelia

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

    Do you have experience with https://github.com/authelia/authelia ?

  • goth

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

  • auth

    Authenticator via oauth2, direct, email and telegram

    the simplest sso library I found is https://github.com/go-pkgz/auth

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