问HN:Better-auth、Nextauth还是其他什么?

2作者: dasubhajit7 个月前原帖
你好,我知道在座的许多人都在经营B2B初创公司。你们正在使用什么身份验证服务/框架来进行多租户身份验证? 我是Backtick(backtickai.com)的首席执行官——一个旨在消除手动任务管理的人工智能原生问题跟踪器。我们的产品主要是基于开源框架和产品构建的;我们在公司内坚守这一理念。然而,我们目前使用的PropelAuth并不是开源的,因此我们正在寻找替代方案。 Better-auth看起来是一个不错的选择。它开箱即用地支持多租户,文档也很好,并且是MIT许可证。然而,它非常新,尚未经过实战检验,我对其安全漏洞感到不确定。 Next-auth虽然经过实战检验,但设置多租户的过程非常麻烦。 如果在这两者之间选择,我更倾向于Next-auth,因为它更成熟。但我想知道你们是如何处理身份验证的。你们使用的是哪个框架或托管服务? 我很期待你们的意见。
查看原文
Hi, I know many of you here are running B2B start-ups. What authentication service&#x2F;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&#x27;s very new, not battle-tested, and I&#x27;m unsure about its security vulnerabilities.<p>Next-auth, while battle-tested, makes setting up multi-tenancy a pain.<p>If it&#x27;s between these two, my preference would be Next-auth because of its maturity. But I&#x27;m wondering how you all are handling authentication. Which framework or hosted service are you using?<p>I would appreciate your comments on this.