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
Optionalhostname?: string
single explicit hostname that should resolve to this process
Optionalhostnames?: string[]
list of hostnames (e.g. tenant subdomains) that should resolve to this process
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 againsthostnames(preferred) or the singlehostnamefield, mirroring the public-portal pattern consumed byfn.external_app_hostnames.