feat(map): add protected operations access
This commit is contained in:
@@ -5,3 +5,15 @@ OPEN_PLATFORM_APP_KEY=replace-with-32-character-app-key
|
||||
UPSTREAM_TIMEOUT_SECONDS=15
|
||||
DASHBOARD_CACHE_SECONDS=5
|
||||
STATION_CACHE_SECONDS=3600
|
||||
# Public station map: name, location, address and cooperation status only.
|
||||
# Operations data (all vehicles and hydrogen volumes) requires this server-only code.
|
||||
VEHICLE_MAP_AUTH_PROVIDER=local
|
||||
VEHICLE_MAP_ACCESS_CODE=replace-with-an-access-code
|
||||
VEHICLE_MAP_SESSION_SECRET=replace-with-at-least-32-random-characters
|
||||
# An operations session expires after 30 minutes.
|
||||
VEHICLE_MAP_SESSION_TTL_SECONDS=1800
|
||||
# true behind the HTTPS production reverse proxy; false only for localhost development.
|
||||
VEHICLE_MAP_COOKIE_SECURE=true
|
||||
# For future unified authentication: set provider to auth-center and configure its introspection endpoint.
|
||||
VEHICLE_MAP_AUTH_CENTER_INTROSPECTION_URL=
|
||||
VEHICLE_MAP_AUTH_CENTER_CLIENT_TOKEN=
|
||||
|
||||
Reference in New Issue
Block a user