Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions airflow/cli/commands/local_commands/api_server_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ def api_server(args):
worker_timeout = args.worker_timeout
proxy_headers = args.proxy_headers

# Ensure we set this now, so that each subprocess gets the same value
from airflow.utils.jwt_signer import get_signing_key

get_signing_key("api", "auth_jwt_secret")

if args.dev:
print(f"Starting the API server on port {args.port} and host {args.host} in development mode.")
log.warning("Running in dev mode, ignoring uvicorn args")
Expand Down