aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpclientauth.cpp
diff options
context:
space:
mode:
authorzousar <[email protected]>2025-09-22 16:38:15 -0600
committerzousar <[email protected]>2025-09-22 16:38:15 -0600
commit1c591941878e5c5009d51a82ff61986a63bd2e11 (patch)
tree3860ab5ebddf1919aab3cca019422fa76cfcdda4 /src/zenhttp/httpclientauth.cpp
parentChange batch put responses for client reporting (diff)
parent5.7.2-pre1 (diff)
downloadzen-1c591941878e5c5009d51a82ff61986a63bd2e11.tar.xz
zen-1c591941878e5c5009d51a82ff61986a63bd2e11.zip
Merge branch 'main' into zs/put-overwrite-policy-response
Diffstat (limited to 'src/zenhttp/httpclientauth.cpp')
-rw-r--r--src/zenhttp/httpclientauth.cpp5
1 files changed, 3 insertions, 2 deletions
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<std::function<HttpClientAccessToken()>> 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),