Pattern

Same codebase, different environment variables per customer. grab-backend and cpo-backend (Elecca) are the same app pointed at different databases and backends.

Grab  ──x-api-key──▶  OMNI  ──Authorization: Token──▶  grab-backend  ──▶  Grab DB
                             └───────────────────────▶  cpo-backend   ──▶  Elecca DB

Key rule

Endpoint config URLs must point to the customer-specific backend, not a shared one. Pointing Grab’s config at Elecca’s backend means Grab’s sessions land in the wrong database.