From 7f825772b6a9bbc4d55f63fddd4409a2795d6c7f Mon Sep 17 00:00:00 2001 From: Cole Date: Mon, 26 Aug 2024 10:42:11 -0400 Subject: [PATCH] fixes token fetch when account provided and bumps version (#378) Co-authored-by: ohad bitton <32278684+ohadbitt@users.noreply.github.com> --- .../microsoft/azure/kusto/data/auth/MsalTokenProviderBase.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/src/main/java/com/microsoft/azure/kusto/data/auth/MsalTokenProviderBase.java b/data/src/main/java/com/microsoft/azure/kusto/data/auth/MsalTokenProviderBase.java index 321dabb4..b4d72d8f 100644 --- a/data/src/main/java/com/microsoft/azure/kusto/data/auth/MsalTokenProviderBase.java +++ b/data/src/main/java/com/microsoft/azure/kusto/data/auth/MsalTokenProviderBase.java @@ -93,7 +93,7 @@ public abstract class MsalTokenProviderBase extends CloudDependentTokenProviderB authorityUrl = firstPartyAuthorityUrl; } - return SilentParameters.builder(scopes).account(account).authorityUrl(authorityUrl).build(); + return SilentParameters.builder(scopes, account).authorityUrl(authorityUrl).build(); } return SilentParameters.builder(scopes).authorityUrl(aadAuthorityUrl).build(); } diff --git a/pom.xml b/pom.xml index ce37492e..aedbc79e 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ - 5.1.1 + 5.1.2 UTF-8 1.8 1.2.25