mirror of
https://litchi.icu/ngc2207/judge.git
synced 2025-05-18 21:46:34 +00:00
21 lines
536 B
Plaintext
21 lines
536 B
Plaintext
# Auth.js secret key (generate with `npx auth secret`)
|
|
AUTH_SECRET=""
|
|
|
|
# GitHub OAuth credentials (from GitHub Developer Settings)
|
|
AUTH_GITHUB_ID=""
|
|
AUTH_GITHUB_SECRET=""
|
|
|
|
# Gitea OAuth credentials (choose either official Gitea or self-hosted Gitea, not both)
|
|
|
|
# Official Gitea credentials
|
|
# AUTH_GITEA_ID=""
|
|
# AUTH_GITEA_SECRET=""
|
|
|
|
# Self-hosted Gitea credentials
|
|
GITEA_BASE_URL="http://localhost:3000"
|
|
AUTH_GITEA_ID=""
|
|
AUTH_GITEA_SECRET=""
|
|
|
|
# Next.js application URL (trusted host for Auth.js)
|
|
AUTH_TRUST_HOST="http://localhost:4000"
|