You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`NEXT_PUBLIC_ENABLE_BETTER_AUTH`| Required | Set to `1` to enable Better Auth service |
45
-
|`AUTH_SECRET`| Required | Key used to encrypt session tokens. Generate using: `openssl rand -base64 32`|
46
-
|`NEXT_PUBLIC_AUTH_URL`| Required | The browser-accessible base URL for Better Auth (e.g., `http://localhost:3010`, `https://lobechat.com`). Optional for Vercel deployments (auto-detected from `VERCEL_URL`) |
47
-
|`AUTH_SSO_PROVIDERS`| Optional | Comma-separated list of enabled SSO providers, e.g., `google,github,microsoft`|
|`NEXT_PUBLIC_ENABLE_BETTER_AUTH`| Required | Set to `1` to enable Better Auth service |
45
+
|`AUTH_SECRET`| Required | Key used to encrypt session tokens. Generate using: `openssl rand -base64 32`|
46
+
|`AUTH_SSO_PROVIDERS`| Optional | Comma-separated list of enabled SSO providers, e.g., `google,github,microsoft`|
48
47
49
48
<Callouttype={'error'}>
50
49
**Important**: Better Auth is currently only suitable for **fresh deployments**. If you are already using NextAuth or Clerk and have existing user data in your database, **do not switch to Better Auth yet**, otherwise existing users will not be able to log in.
0 commit comments