Hacker News new | ask | show | jobs
by lordofgibbons 262 days ago
I really wish there was such an easy off-the shelf auth solution for Go
4 comments

Agreed.

There are solutions out there for golang (FusionAuth, my employer, is one) but I think you are looking for one that integrates directly into an application the way that better-auth does (just like devise for rails, or Django's user model).

I'm not aware of any such library for golang. This reddit thread might be helpful: https://www.reddit.com/r/golang/comments/1le9q65/is_there_a_... with some options to evaluate.

I'm working on something[0]. It actually supports Go, JS, and Rust (through the power of server-side WASM). Python and others are planned. It's unlikely to ever have all the features and polish of BetterAuth/OpenAuth, but I've been absolutely loving the DX for my projects that need auth.

[0]: https://github.com/lastlogin-net/decent-auth

I've seen this, and the fact that it's written in Go is kind of irrelevant if I have to manage an external service. I just want it to be simple like what other languages have.
Extremely complex and requires running another multiple services. I just want auth, I don't want to set up kubernetes to orchestrate all the components of Ory.
You don’t need k8s, that is overkill. It’s a simple lightweight service that runs in docker or you install bare metal. Ory Kratos will satisfy 90% of use cases that you might have