ui-server

module
v2.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2025 License: MIT

README

ui-server

Publish Docker image

Development

https://github.com/temporalio/ui-server is automatically updated to mirror changes to https://github.com/temporalio/ui/tree/main/server; commits should be made to the UI repository.

For contributions follow UI's development guide https://github.com/temporalio/ui

Hot Reloading

The development server uses Air for automatic hot reloading when Go source files change. Air will be automatically installed on first run in development mode, which may take a moment.

Configuration

CORS Settings

The server supports flexible CORS configuration through YAML config files:

cors:
  allowOrigins:
    - "https://example.com"
    - "https://app.example.com"
  unsafeAllowAllOrigins: false  # Default: false
  cookieInsecure: false

Configuration Options:

  • allowOrigins: List of explicitly allowed origins for CORS requests
  • unsafeAllowAllOrigins: ⚠️ UNSAFE - When true, allows any origin that makes a request. Only enable for development/testing environments
  • cookieInsecure: Allow CSRF cookies over insecure connections (useful for VPN scenarios)

Security Note: The unsafeAllowAllOrigins setting bypasses CORS security and should never be enabled in production. It dynamically allows the requesting origin, which can expose your API to cross-origin attacks.

To View gRPC routes:

Temporal API Workflowservice

Directories

Path Synopsis
cmd
server command
plugins
api
rpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL