diff --git a/app/http.php b/app/http.php index 61dd69d..70fae14 100644 --- a/app/http.php +++ b/app/http.php @@ -1141,7 +1141,9 @@ function (string $runtimeId, ?string $payload, string $path, string $method, mix $headers['x-open-runtimes-logging'] = 'disabled'; } + $headers['Authorization'] = 'Basic ' . \base64_encode('opr:' . $secret); $headers['x-open-runtimes-secret'] = $secret; + $headers['x-open-runtimes-timeout'] = \max(\intval($timeout), 1); $headersArr = []; foreach ($headers as $key => $value) {