Replies: 1 comment 1 reply
-
|
注册流程: better-auth 似乎用的是 signup -> signin ? 这样的话, 还需要对之前 next-auth 用的 login ui 进行改动。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Unify to BetterAuth
Background
Goal
Unify to use better-auth as the authentication system across LobeChat open-source and cloud deployments.
Current Status
Phase 1: BetterAuth Support in Open-Source (lobechat)
Add better-auth as an authentication option, with backward compatibility for next-auth environment variables.
1.1 BetterAuth Infrastructure
1.2 NextAuth Compatibility
AUTH_SECRET, OAuth client configs)Phase 2: Clerk Migration in Cloud (lobechat-cloud)
Migrate Clerk to better-auth in the cloud repository, then open-source the migration tools.
2.1 Cloud Migration
2.2 Cleanup Clerk Dependencies
2.3 Open-Source Migration Tools
Phase 3: NextAuth Migration Script in Open-Source (lobechat)
Provide migration path for existing next-auth users.
3.1 Migration Script
3.2 Documentation & Cleanup
Beta Was this translation helpful? Give feedback.
All reactions