Skip to content

Commit 6eb1add

Browse files
author
Swasti Gupta
committed
Update comments regarding usage of byRedirectUrlValidation
1 parent 7080793 commit 6eb1add

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

IdentityCore/src/broker_operation/request/token_request/MSIDBrokerOperationTokenRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN
5050
@property (nonatomic) BOOL skipValidateResultAccount;
5151
@property (nonatomic) BOOL forceRefresh;
5252
@property (nonatomic) BOOL ignoreScopeValidation;
53-
@property (nonatomic) BOOL ignoreRedirectUriValidation;
53+
@property (nonatomic) BOOL bypassRedirectURIValidation;
5454

5555
+ (BOOL)fillRequest:(MSIDBrokerOperationTokenRequest *)request
5656
withParameters:(MSIDRequestParameters *)parameters

IdentityCore/src/broker_operation/request/token_request/MSIDBrokerOperationTokenRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ + (BOOL)fillRequest:(MSIDBrokerOperationTokenRequest *)request
6868
request.platformSequence = parameters.platformSequence;
6969
request.allowAnyExtraURLQueryParameters = parameters.allowAnyExtraURLQueryParameters;
7070
request.ignoreScopeValidation = parameters.ignoreScopeValidation;
71-
request.ignoreRedirectUriValidation = parameters.bypassRedirectURIValidation;
71+
request.bypassRedirectURIValidation = parameters.bypassRedirectURIValidation;
7272
return YES;
7373
}
7474

IdentityCore/src/parameters/MSIDRequestParameters.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
@property (nonatomic) NSString *clientSku;
6060
@property (nonatomic) BOOL skipValidateResultAccount;
6161
@property (nonatomic) BOOL forceRefresh;
62+
// If YES — redirect URI validation is bypassed.
63+
// This flag may be set by either the MSAL app or the broker process.
64+
// - When set by the MSAL app: brokered flows are disabled, and MSAL falls back to local auth flows.
6265
@property (nonatomic) BOOL bypassRedirectURIValidation;
6366

6467
// Telemetry metadata

0 commit comments

Comments
 (0)