ExternalAppConfig: {
    hostname?: string;
    hostnames?: string[];
}

Tenant routing for the external-app (ct-preparer) human-login flow.

When this block is present on a process, ct-preparer derives the tenant from the request hostname (e.g. capago.preflight.trak.codes) and shows a login screen instead of the shared magic-link entry. The hostname is matched against hostnames (preferred) or the single hostname field, mirroring the public-portal pattern consumed by fn.external_app_hostnames.

Type declaration

  • Optional hostname?: string

    single explicit hostname that should resolve to this process

  • Optional hostnames?: string[]

    list of hostnames (e.g. tenant subdomains) that should resolve to this process