
每个产品都需要可靠的登录系统,但不同团队的起点并不相同。有些团队希望快速接入社交登录上线,有些则需要企业级的安全管控。LobeHub 现在同时支持两种路径 —— 集成 next-auth 和 Clerk,满足不同阶段的需求。
这让团队可以自由选择:先以简单方案快速启动,待业务需要时再升级安全能力,无需重构整个认证架构。
Next-Auth:快速启动,灵活可控
Next-Auth 为希望快速交付的团队提供了轻量级认证层。它覆盖核心能力:主流 OAuth 提供商、邮箱登录、凭证登录,无需管理独立用户服务。
适用场景:
- 需要快速接入 GitHub、Google 等社交登录
- 开箱即用的会话管理
- 对登录界面和流程的完全控制
- 用户数据保留在自有基础设施中的隐私友好方案
Clerk:企业级身份管理
当你需要的不仅是登录 —— 多因素认证、用户档案管理、登录行为监控 ——Clerk 提供开箱即用的完整能力。作为托管身份平台,它随产品规模自动扩展。
适用场景:
- 敏感账户需要 MFA 或满足合规要求
- 需要内置的用户资料与账户管理界面
- 实时监控登录活动
- 免运维的高扩展性身份基础设施
体验优化与修复
- 新增 next-auth v5 beta 支持,改进会话处理机制
- 修复自定义登录页面导致的重定向循环问题
- 优化 OAuth 连接失败时的错误提示信息
版本详情
Features
- v0.125.0Support login & session authentication via OAuth 2.0 (Auth0).
- v0.124.0Support Moonshot AI Provider.
- v0.123.0Support Google / Zhipu / AWS Bedrock model providers.
- v0.122.0Add create agent action in group menu.
- v0.121.0Add session group manager.
- v0.120.0Adding Arabic Language Support.
- v0.119.0Support auto rename topic, support delete and regenerate message, support duplicate session, support duplicate topic.
What's improved
- v0.124.2Add moonshot i18n.
- v0.124.1Improve direction UX.
- v0.123.4Improve clear topic tips.
- v0.123.1Add gpt-4-all feature flag.
- v0.122.8Allow user to add agent without redirection.
- v0.122.7Update the gpt-4-1106-preview model to gpt-4-0125-preview.
- v0.122.3Refactor the setting storage from localStorage to indexedDB.
- v0.122.1Fix antd tab width flicker when show function debug.
- v0.121.3Improve stop loading icon.
- v0.121.2Remove centered prop from CreateGroupModal.
- v0.121.1Fix default plugins height unstabled when scrolling.
- v0.120.6Fix share image tags not align.
- v0.120.5Update locale and add test for globalStore.
- v0.120.3Refactor antd i18n and improve locale order.
- v0.119.13Add delete and regenerate for function message.
- v0.119.11Refactor ChatInput to support cmd+enter.
- v0.119.9Fix ChatInput fullscreen display not correct.
- v0.119.7Improve share modal style.
- v0.119.6Improve conversation style.
- v0.119.5Fix topic i18n.
- v0.119.4Fix BackBottom zIndex, improve chat list on mobile, improve chat list scrolling to bottom at initial render, improve custom model input, improve topic scroll.
- v0.119.0Refactor the ChatList.
- v0.118.9Add leaving protect alert.
- v0.118.8Add Vietnamese files and add the vi-VN option in the General Settings.
- v0.118.6Migration the ChatList into Conversation.
What's fixed
- v0.124.3Fix use azure api key error.
- v0.123.3Fix non-https crypto.subtile missing error.
- v0.123.2Fix docker build.
- v0.123.1Improve auth control of plugin gateways, update dockerfile.
- v0.122.5The plugin has a hallucination and gets stuck.
- v0.122.4Fix plugin gateway auth.
- v0.122.2Fix unexpected topic switch when favoriting topic.
- v0.121.4Pin ahooks to fix test ci and settings crash.
- v0.121.1Automatically fill in the wrong password.
- v0.120.4Refactor url state management and fix some detail experience.
- v0.120.2Fix setPluginMessage can not stop create ai message.
- v0.120.1Fix list scrolling white screen on mobile.
- v0.119.12Fix new line after sending messages with enter key.
- v0.119.10Debug information cannot be selected.
- v0.119.8Fix spotting tool call correctly.
- v0.119.4Fix auto scroll error and BackBottom error.
- v0.119.3Fix deploy error. Changed SquareAsterisk to AsteriskSquare.
- v0.119.2Fix function call error with smooth animation.
- v0.119.0Fix can't uninstall custom plugin in custom plugin modal.
- v0.118.10Add chat defaultNS.
- v0.118.7Desensitize openai base url in the error response.
- v0.118.5Mobile device return to the previous page error.
- v0.118.4Update dalle identifier to fix unstable dalle function call.
- v0.118.3Fix parse error of tool calls at end.
- v0.118.2Pin antd version to fix chat page crash.
- v0.118.1Fix dalle image download error.
