feat: GitHub OAuth + encrypted CF token storage + settings page + fix input theme

This commit is contained in:
chunzhimoe
2026-04-12 17:16:22 +08:00
parent 326e0e266e
commit 18b4bb853d
13 changed files with 599 additions and 37 deletions
+10
View File
@@ -12,3 +12,13 @@ CLOUDFLARE_API_TOKEN=your_api_token_here
# (Create one in Zero Trust > Settings > Service Auth)
CF_SERVICE_CLIENT_ID=
CF_SERVICE_CLIENT_SECRET=
# GitHub OAuth (create at https://github.com/settings/developers)
# Callback URL: https://your-domain.vercel.app/api/auth/callback/github
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Required for next-auth session encryption (run: openssl rand -base64 32)
NEXTAUTH_SECRET=
# Optional on Vercel — set to your production URL if self-hosting
# NEXTAUTH_URL=https://your-domain.vercel.app