Skip to content

Commit

Permalink
change mwc token
Browse files Browse the repository at this point in the history
  • Loading branch information
mslhrotk committed Sep 27, 2024
1 parent 91f1e79 commit 55eaefa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ trait HasCognitiveServiceInput extends HasURL with HasSubscriptionKey with HasAA
val providedCustomAuthHeader = getValueOpt(row, CustomAuthHeader)
if (providedCustomAuthHeader .isEmpty && PlatformDetails.runningOnFabric()) {
logInfo("Using Default AAD Token On Fabric")
Option(FabricClient.getMLWorkloadAuthHeader)
Option(FabricClient.getCognitiveAuthHeader)
} else {
providedCustomAuthHeader
}
Expand Down

0 comments on commit 55eaefa

Please sign in to comment.