From 69bc4d03fc050ae43bb0628b0a5e0dfdcaf38735 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 22 Sep 2025 13:41:33 +0200 Subject: Added `--oidctoken-exe-unattended` to`zen builds` and `zen oplog-download` command to use unattended mode when launching oidc-token.exe (#506) --- src/zenhttp/httpclientauth.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/zenhttp/httpclientauth.cpp') diff --git a/src/zenhttp/httpclientauth.cpp b/src/zenhttp/httpclientauth.cpp index 62e1b77bc..4bbc6405b 100644 --- a/src/zenhttp/httpclientauth.cpp +++ b/src/zenhttp/httpclientauth.cpp @@ -176,9 +176,10 @@ namespace zen { namespace httpclientauth { std::optional> CreateFromOidcTokenExecutable(const std::filesystem::path& OidcExecutablePath, std::string_view CloudHost, - bool Quiet) + bool Quiet, + bool Unattended) { - HttpClientAccessToken InitialToken = GetOidcTokenFromExe(OidcExecutablePath, CloudHost, /* Unattended */ false, Quiet); + HttpClientAccessToken InitialToken = GetOidcTokenFromExe(OidcExecutablePath, CloudHost, Unattended, Quiet); if (InitialToken.IsValid()) { return [OidcExecutablePath = std::filesystem::path(OidcExecutablePath), -- cgit v1.2.3