fix: resolve OAuth redirect_uri error - Add URL validation and cleanup in auth config - Create environment variable check script - Add OAuth setup guide documentation
This commit is contained in:
@ -2,7 +2,8 @@
|
||||
DATABASE_URL="file:./dev.db"
|
||||
|
||||
# NextAuth.js
|
||||
NEXTAUTH_URL="http://localhost:3000"
|
||||
# 重要:确保 URL 不包含多余的引号,格式应为:https://your-domain.com
|
||||
NEXTAUTH_URL="https://recorder.zyj.best"
|
||||
NEXTAUTH_SECRET="your-nextauth-secret"
|
||||
|
||||
# Google OAuth
|
||||
|
||||
Reference in New Issue
Block a user