How do you do Authentication?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • go-guardian

    Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.

  • go-gurdian

  • Keycloak

    Open Source Identity and Access Management For Modern Applications and Services

  • keycloak

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • scs

    HTTP Session Management for Go

  • Server side sessions using alexedwards/scs.

  • securecookie

    Fast, secure and efficient secure cookie encoder/decoder (by chmike)

  • I currently use a secure cookie package. This allows to safely store information in the cookie and authenticate the cookie. For csrf protection, I encrypt the random check value stored in a hidden field of the form inside the cookie. It may then be used to authenticate websocket opening.

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