docs: explain JWT_SECRET_KEY in .env.example
Authored-By: Jack Levy
This commit is contained in:
@@ -5,7 +5,9 @@ LOCAL_URL=http://localhost
|
|||||||
PUBLIC_URL=
|
PUBLIC_URL=
|
||||||
|
|
||||||
# ─── Auth ──────────────────────────────────────────────────────────────────────
|
# ─── Auth ──────────────────────────────────────────────────────────────────────
|
||||||
# Generate a strong random secret: python -c "import secrets; print(secrets.token_hex(32))"
|
# Signs and verifies JWT tokens. Anyone with this key can forge auth tokens,
|
||||||
|
# so use a long random value in production and never commit it to git.
|
||||||
|
# Generate: python -c "import secrets; print(secrets.token_hex(32))"
|
||||||
JWT_SECRET_KEY=
|
JWT_SECRET_KEY=
|
||||||
|
|
||||||
# ─── PostgreSQL ───────────────────────────────────────────────────────────────
|
# ─── PostgreSQL ───────────────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user