Skip to content

app

The GATE half of the wrapper: a server-less AppKit app whose only job is to expose the authGate handlers the proxy calls.

The in-process plugin path (authGate in the app’s own plugins) has a real HTTP server to mount routes on. A wrapper does not - the app it fronts is a separate process it must not reach into - so the gate’s login routes live on the proxy instead, and this app exists purely to give the plugin the runtime it needs: a CacheManager for the one-time-code store and signing key, and the sibling email plugin’s transport for delivering a code.

Lazily imported by cli.ts, so dbx tunnel --insecure (and install / status) never load AppKit, the Databricks SDK, or the SMTP stack.