fediverse-auth/example.env.local

43 lines
989 B
Plaintext

# Copy this to .env.local
# used by docker-compose.yml
# REQUIRED: something random to secure session cookies
SESSION_SECRET=SomethingRandom
# OPTIONAL: something that needs to be given to register clients via OpenID Connect
OIDC_REGISTRATION_TOKEN=registration-token
# REQUIRED: instance identifier, including protocol and port
OIDC_ISSUER=http://localhost:3000
# OIDC_ISSUER=https://auth.fediverse.events
# OPTIONAL: set if your frontend is insecure (not-https)
# ⚠ DO NOT set if behind a reverse proxy, it'll break cookies
# USE_INSECURE=true
# === Delivery Providers ===
# --- Mastodon & Receive Providers
# hostname for instance being used
MASTODON_HOST=
# username for the Mastodon user
MASTODON_USER=
# access token (get from developer area)
MASTODON_TOKEN=
# --- Lemmy Provider
# hostname for instance being used
LEMMY_HOST=
# username for the Lemmy user
LEMMY_USER=
# password for the Lemmy user
LEMMY_PASS=
# access token for the lemmy user
LEMMY_TOKEN=