Dough Git

clove/authServer

.dev.vars.example

back to tree

# Copy to .dev.vars for `wrangler dev`. In production set these with
# `wrangler secret put <NAME>` instead.

# Local issuer. Passkeys are bound to this origin's hostname.
ISSUER=http://localhost:8787

# Encrypts signing keys and TOTP secrets at rest in D1. Changing it makes every
# stored signing key and TOTP secret unreadable.
# Generate with: openssl rand -base64 32
KEY_ENCRYPTION_KEY=

# Required to create the first admin at /setup. /setup closes for good once any
# user exists, so this can be deleted afterwards.
# Generate with: openssl rand -hex 24
SETUP_TOKEN=

# "open" enables /register. Overrides the value in wrangler.jsonc.
# REGISTRATION=closed

# Resend API key. Leave empty locally and emails are printed to the terminal
# instead of being sent.
RESEND_API_KEY=

# Contact address shown on /privacy and /terms for data and account requests.
# CONTACT_EMAIL=