News for hackers. Stuff that matters.
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.
Re:Why you should use Go by lormayna on Wednesday October 23, 2024 @03:31PM (#41928525)
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.
Re:Why you should use Go by rareitem on Wednesday October 23, 2024 @04:34PM (#41929044)
Not a library, but you can use Lucia auth (https://lucia-auth.com/) as a guide to make an auth system yourself
Re:Why you should use Go by wg0 on Wednesday October 23, 2024 @04:58PM (#41929224)
Check authboss, casbin and casdoor.
Re:Why you should use Go by ffo on Wednesday October 23, 2024 @05:03PM (#41929256)
Depends on your needs but Zitadel can do that for you.

We also have a good oidc library that helps you plug into systems that support open id connect.