提问 HN:更好的身份验证方案,NextAuth 还是其他?
2 分•作者: dasubhajit•7 个月前
大家好,我知道在座的各位有很多都在运营 B2B 创业公司。你们在进行多租户身份验证时,使用的是什么身份验证服务/框架?
我是 Backtick (backtickai.com) 的 CEO,Backtick 是一款 AI 原生问题追踪器,旨在消除手动任务管理。我们的产品主要基于开源框架和产品构建;我们公司非常坚持这一理念。然而,我们目前使用 PropelAuth,它不是开源的,所以我们正在考虑迁移。
Better-auth 看起来是个不错的选择。它开箱即用地支持多租户,文档也很好,并且是 MIT 许可的。但是,它非常新,未经实战检验,而且我不确定它的安全漏洞。
Next-auth 虽然经过了实战检验,但设置多租户却很麻烦。
如果在这两者之间选择,我更倾向于 Next-auth,因为它更成熟。但我很好奇你们都是如何处理身份验证的。你们使用的是哪个框架或托管服务?
我很乐意听取你们的意见。
查看原文
Hi, I know many of you here are running B2B start-ups. What authentication service/framework are you using for your multi-tenant authentication?<p>I am the CEO of Backtick (backtickai.com) - an AI-native issue tracker designed to remove manual task management. Our product is built using mostly open-source frameworks and products; we strongly adhere to this ideology in our company. However, we currently use PropelAuth, which is not open-source, so we are looking to migrate away from it.<p>Better-auth seems like a good option. It supports multi-tenancy out of the box, has good documentation, and is MIT licensed. However, it's very new, not battle-tested, and I'm unsure about its security vulnerabilities.<p>Next-auth, while battle-tested, makes setting up multi-tenancy a pain.<p>If it's between these two, my preference would be Next-auth because of its maturity. But I'm wondering how you all are handling authentication. Which framework or hosted service are you using?<p>I would appreciate your comments on this.