
Every product needs reliable sign-in, but not every team has the same requirements. Some need to get up and running quickly with social logins. Others need enterprise-grade controls from day one. LobeHub now supports both paths by integrating with next-auth and Clerk.
This gives teams the freedom to start simple and upgrade security when the time is right—without rethinking their entire auth architecture.
Next-Auth: Start Fast, Stay Flexible
Next-Auth provides a straightforward authentication layer for teams that want to ship quickly. It handles the essentials: OAuth from major providers, email-based login, and credential-based flows, all without managing a separate user service.
Use this when you need:
- Quick setup with social providers like GitHub or Google
- Session management that just works
- Full control over the sign-in UI and flow
- Privacy-friendly auth that keeps user data in your infrastructure
Clerk: Enterprise-Ready Identity
When you need more than sign-in—multi-factor authentication, user profiles, and login activity monitoring—Clerk provides those capabilities out of the box. It's a managed identity platform that scales with your product.
Switch to Clerk when you need:
- MFA for sensitive accounts or compliance requirements
- Built-in user profile and account management UI
- Real-time login activity tracking
- Scalable identity infrastructure without operational overhead
Improvements and fixes
- Added support for next-auth v5 beta with improved session handling
- Fixed redirect loop issues when using custom sign-in pages
- Improved error messages for failed OAuth connections
Version details
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.
