问HN:Better-auth、Nextauth还是其他什么?
大家好,我知道在座的许多人都在运营B2B初创公司。你们在多租户身份验证方面使用了什么认证服务或框架?
我是Backtick(backtickai.com)的首席执行官——一个旨在消除手动任务管理的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.