Re:Why you should use Go
by dlachausse on Wednesday October 23, 2024 @03:00PM
(#41928248)
What do people use for authentication in Go web applications? To me that’s the big missing piece. Just about everything else is in the standard library.
[ Parent
| on HN ]
Exactly, I am looking for a suitable authentication library in go since long time, but I cannot finding anything. Things like authboss are not really usable at all.
Re:Why you should use Go
by perryizgr8 on Wednesday October 23, 2024 @03:18PM
(#41928424)
I wrote my own. I know you're not supposed to do it, but I copied the django implementation as best I could so its probably OK. It's not much work actually.
Not a library, but you can use Lucia auth (https://lucia-auth.com/) as a guide to make an auth system yourself
Check authboss, casbin and casdoor.