Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 2.16 KB

File metadata and controls

25 lines (20 loc) · 2.16 KB

Environment variables

General

  • Environment variables can be set for local development using a .env file. An example file is included as a starting point.
Name Description Default
API_BASE_URL Base URL for the backend API server http://localhost:8080
ASSETS_BASE_URL Host for assets CDN /public
EXTERNAL_WEBSITE_HOST The (accessible) hostname (and port) of the listening web server. http://locahost:5000
PORT Port the web server listens on 5000
SESSION_SECRET A complex string unique to the environment, used to encrypt cookies
SESSION_TABLE_NAME Table name for the user session data
SESSION_TTL How long the user session should last (in milliseconds) 7200000 (2 hours)

Metrics and Analytics

Name Description Default
ANALYTICS_COOKIE_DOMAIN Cookie domain to persist values throughout the different sections of the OneLogin journey localhost
GA4_CONTAINER_ID Container ID for GA4, required for analytics to work correctly GTM-KD86CMZ
GA4_DISABLED Feature flag to disable GA4 false
UA_CONTAINER_ID Container ID for Universal Analytics, required for UA to work correctly GTM-TK92W68
UA_DISABLED Feature flag to disable UA true