Skip to main content

DefaultActiveCompanyStrategy

The default ActiveCompanyStrategy that reads company and business unit IDs from the vendure-company-id and vendure-business-unit-id HTTP headers.

When no header is present but the user is authenticated, falls back to looking up the customer's active CompanyUser membership to bootstrap the company context.

Exclusive to Vendure Platform

This page is part of the Vendure Platform documentation. Access requires a valid Vendure Platform license.