Am I doing authorization correctly? I'm doing http-only cookie-based auth and to get the current user I call an API route that reads the cookie and returns the info

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

    React Hooks for Data Fetching

    You could consider caching the user on the client with something like https://swr.vercel.app/

  • paseto

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

    Check out paseto tokens

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

  • authgo

    https://github.com/AletheiaWareLLC/authgo is a library which implements cookie-based auth and could be a useful reference for you :)

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