diff options
| author | Dan Engelbrecht <[email protected]> | 2025-09-22 13:41:33 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-09-22 13:41:33 +0200 |
| commit | 69bc4d03fc050ae43bb0628b0a5e0dfdcaf38735 (patch) | |
| tree | 301bc5d42fef96c5a6208b080ec5299bb0ce6496 /src/zenhttp/httpclientauth.cpp | |
| parent | change default sentry dsn to one listed on Sentry setup page (#504) (diff) | |
| download | zen-69bc4d03fc050ae43bb0628b0a5e0dfdcaf38735.tar.xz zen-69bc4d03fc050ae43bb0628b0a5e0dfdcaf38735.zip | |
Added `--oidctoken-exe-unattended` to`zen builds` and `zen oplog-download` command to use unattended mode when launching oidc-token.exe (#506)
Diffstat (limited to 'src/zenhttp/httpclientauth.cpp')
| -rw-r--r-- | src/zenhttp/httpclientauth.cpp | 5 |
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), |