Skip to content

Variable: ACCESS\_TOKEN\_HEADER

const ACCESS_TOKEN_HEADER: "x-forwarded-access-token" = token.ACCESS_TOKEN_HEADER

Header the Databricks Apps front door forwards the caller’s OBO token on. Its presence is what makes asUser(req) viable, so it is the signal useServicePrincipal reads in "auto" mode.

Re-exported from @dbx-tools/shared-core’s token module (which reads the same header to decode OAuth scopes) rather than re-spelled, so the name for this wire contract exists once.