Authentication for Go applications

https://github.com/Plain-Org/plain-auth

Comments

gnabgibNov 29, 2026, 12:12 AM
Please don't editorialize like this, title: Authentication for Go applications

https://news.ycombinator.com/newsguidelines.html

NabilSinceNov 28, 2026, 11:56 PM
I usually deploy my services to Fly.io or Railway. The problem is that as my services grow and my memory usage grows with it, the price also exponentially grows. I found that using Go for my backend services and other microservices works really, really well for bringing that memory usage down, and so will the cost go down.

The problem I have is that one package has been really blocking me from moving to having my entire backend for all of my projects in Go, and that is BetterAuth. BetterAuth is pretty much the easiest TypeScript package to use for authentication, and there is no equivalent to it in Go.

Well, until now. I got so sick of this that I basically took it upon myself to create this auth library in Go called Plain-Auth. I wanted to share it with others and get some feedback on it. It's my first open source project, and I'm trying to get it as one-to-one with BetterAuth as possible. I have a roadmap in the repo for how to do that and the type of features that I want to use and go into.

This Plain Auth package and library for Go: I believe a little more dev work, and I'll be able to finally use this in my own backend. Would love some feedback on this. Thanks.

gayotNov 29, 2026, 1:07 AM
[dead]