# Local development configuration for OAuth + Gitea # Copy this file to .env.local and fill in values, then run: npm run dev:local PUBLIC_BASE_URL=http://localhost:4321 # Gitea OAuth app created with redirect URI: http://localhost:4321/api/auth/callback OAUTH_PROVIDER=gitea OAUTH_CLIENT_ID= OAUTH_CLIENT_SECRET= OAUTH_AUTHORIZE_URL=https://git.bookageek.ch/login/oauth/authorize OAUTH_TOKEN_URL=https://git.bookageek.ch/login/oauth/access_token OAUTH_USERINFO_URL=https://git.bookageek.ch/api/v1/user # Optional allow-list (comma separated usernames) # OAUTH_ALLOWED_USERS= # Gitea API for commits (service account PAT must have write:repository) GITEA_BASE=https://git.bookageek.ch GITEA_OWNER= GITEA_REPO= GITEA_TOKEN= GIT_BRANCH=main # Secrets (use long random strings) SESSION_SECRET= CSRF_SECRET=