Skip to content

Commit a65956c

Browse files
Merge pull request #2113 from AzureAD/hieund/ignore_broker_cache
Ignore broker cache
2 parents bb12b8f + 9141d3a commit a65956c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

MSAL/src/MSALPublicClientApplication.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,9 @@ - (void)acquireTokenSilentWithParameters:(MSALSilentTokenParameters *)parameters
873873
msidParams.currentRequestTelemetry.schemaVersion = HTTP_REQUEST_TELEMETRY_SCHEMA_VERSION;
874874
msidParams.currentRequestTelemetry.apiId = [msidParams.telemetryApiId integerValue];
875875
msidParams.currentRequestTelemetry.tokenCacheRefreshType = parameters.forceRefresh ? TokenCacheRefreshTypeForceRefresh : TokenCacheRefreshTypeNoCacheLookupInvolved;
876-
msidParams.allowUsingLocalCachedRtWhenSsoExtFailed = parameters.allowUsingLocalCachedRtWhenSsoExtFailed;
877-
876+
msidParams.allowUsingLocalCachedRtWhenSsoExtFailed = parameters.allowUsingLocalCachedRtWhenSsoExtFailed;
877+
msidParams.forceRefresh = parameters.forceRefresh;
878+
878879
// Nested auth protocol
879880
msidParams.nestedAuthBrokerClientId = self.internalConfig.nestedAuthBrokerClientId;
880881
msidParams.nestedAuthBrokerRedirectUri = self.internalConfig.nestedAuthBrokerRedirectUri;

MSAL/src/public/MSALPublicClientApplication.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420
representing the TenantID property of the directory)
421421
@param claimsRequest The claims parameter that needs to be sent to token endpoint. When claims
422422
is passed, access token will be skipped and refresh token will be tried.
423-
@param forceRefresh Ignore any existing access token in the cache and force MSAL to
423+
@param forceRefresh Ignore any existing access token in the cache and force MSAL/Broker to
424424
get a new access token from the service.
425425
@param correlationId UUID to correlate this request with the server
426426
@param completionBlock The completion block that will be called when the authentication

0 commit comments

Comments
 (0)