I couldn’t find Better Auth in Go, so I built one
Developer Brian Iyoha created Limen, a composable authentication library for Go, to fill a gap in the ecosystem for a production-ready, flexible auth solution similar to Better Auth in JavaScript. Limen is designed to integrate directly into existing Go applications without enforcing specific frameworks or structures. It supports credential-based login, social sign-on, two-factor authentication, and session management while working with common Go web frameworks. The library is open source and built with a plugin-first architecture to allow modular use.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 74195) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Brian Iyoha Posted on Apr 28 I couldn’t find Better Auth in Go, so I built one #go #webdev #opensource #authentication There’s been a noticeable shift in how authentication is approached in modern apps. Tools like Better Auth have pushed toward a model that is both developer-friendly and production-aware, with a strong emphasis on correctness, extensibility, and sensible defaults. But if you’re working in Go, that experience hasn’t really existed. That gap is what led to Limen.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).