-
-
Notifications
You must be signed in to change notification settings - Fork 204
Expand file tree
/
Copy path.env.sample
More file actions
21 lines (21 loc) · 928 Bytes
/
.env.sample
File metadata and controls
21 lines (21 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Authorizer v2 - Configuration Reference
#
# v2 does NOT read from .env. All configuration must be passed via CLI arguments
# when starting the server. This file serves as a reference for mapping env vars
# to CLI flags. See MIGRATION.md for the full mapping.
#
# Example: ./authorizer --database-type=sqlite --database-url=data.db \
# --client-id=... --client-secret=... --admin-secret=...
#
# v1 env var → v2 CLI flag
# ----------------- → -------------------
# ENV → --env
# DATABASE_TYPE → --database-type
# DATABASE_URL → --database-url
# CLIENT_ID → --client-id (required)
# CLIENT_SECRET → --client-secret (required)
# ADMIN_SECRET → --admin-secret
# JWT_TYPE → --jwt-type
# JWT_SECRET → --jwt-secret
# DISABLE_PLAYGROUND → --enable-playground=false
# CUSTOM_ACCESS_TOKEN_SCRIPT → --custom-access-token-script