Skip to content

Interface: ResolvedAuthGateConfig

Resolved gate config with env fallbacks + defaults applied.

allow: string[]


brandName: string


codeTtlSeconds: number


forwardHeaders: string[]

Extra x- headers tunnel traffic may forward (unioned with the defaults).


gatePaths: string[]

Path prefixes to gate beyond /api/ (e.g. /ws).


insecure: boolean

Run OPEN with no gate.


logoutRedirectPath: string

Same-origin path returned after logout.


maxAttempts: number


message: string


optional publicDomain?: string

Primary public domain; undefined when Portr is not configured.


publicDomains: string[]

All public tunnel domains accepted by the gate.


sessionCutoffMs: number

Force-clear cutoff in epoch ms; 0 when unset.


sessionTtlSeconds: number


optional sqlitePath?: string


storage: AuthStorageMode


subject: string