Skip to content

Commit 976c601

Browse files
author
Swasti Gupta
committed
CC:Reattah PRT for authorize endpoint after redirect
1 parent 689c324 commit 976c601

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IdentityCore/src/oauth2/MSIDWebviewFactory.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ - (MSIDAuthorizeWebRequestConfiguration *)authorizeWebRequestConfigurationWithRe
303303
configuration.customHeaders = parameters.customWebviewHeaders;
304304
configuration.parentController = parameters.parentViewController;
305305
configuration.prefersEphemeralWebBrowserSession = parameters.prefersEphemeralWebBrowserSession;
306-
configuration.customHeaderProvider = parameters.crossDomainHeaderProvider;
306+
configuration.customHeaderProvider = parameters.prtHeaderProvider;
307307

308308
#if TARGET_OS_IPHONE
309309
configuration.presentationType = parameters.presentationType;

IdentityCore/src/parameters/MSIDInteractiveTokenRequestParameters.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ NS_ASSUME_NONNULL_BEGIN
3737
@property (nonatomic) NSDictionary *extraAuthorizeURLQueryParameters;
3838
@property (nonatomic) BOOL enablePkce;
3939
@property (nonatomic) MSIDBrokerInvocationOptions *brokerInvocationOptions;
40-
@property (nullable, nonatomic) id<MSIDCustomHeaderProviding> crossDomainHeaderProvider;
40+
@property (nullable, nonatomic) id<MSIDCustomHeaderProviding> prtHeaderProvider;
4141

4242
- (NSOrderedSet *)allAuthorizeRequestScopes;
4343
- (NSDictionary *)allAuthorizeRequestExtraParameters DEPRECATED_MSG_ATTRIBUTE("Use -allAuthorizeRequestExtraParametersWithMetadata: instead");

0 commit comments

Comments
 (0)