Skip to main content

Module console

Module console 

Source
Expand description

HTTP endpoints for the web console.

Structsยง

ConsoleProxyConfig ๐Ÿ”’

Staticsยง

CONSOLE_CONFIG_VAR_NAMES ๐Ÿ”’
OIDC configuration values needed by the Console to initiate OIDC login.

Functionsยง

handle_console_config
Returns system variable values the web console needs from environmentd. This endpoint requires no authentication.
handle_internal_console ๐Ÿ”’
The User Impersonation feature uses a Teleport proxy in front of the Internal HTTP Server, however Teleport has issues with CORS that prevent making requests to that Teleport-proxied app from our production console URLs. To avoid CORS and serve the Console from the same host as the Teleport app, this route proxies the upstream Console to handle requests for HTML, JS, and CSS static files.