Skip to content

Commit 9c774ad

Browse files
committed
Add extra cases that don't need to pass existing RT.
1 parent de1f33b commit 9c774ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

IdentityCore/src/requests/MSIDInteractiveTokenRequest.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ - (void)updateCustomHeadersForFRTSupportIfNeeded
158158
}
159159
}
160160

161-
if (self.requestParameters.promptType != MSIDPromptTypeLogin && enableFRT)
161+
if (enableFRT &&
162+
self.requestParameters.promptType != MSIDPromptTypeLogin &&
163+
self.requestParameters.promptType != MSIDPromptTypeSelectAccount &&
164+
self.requestParameters.promptType != MSIDPromptTypeCreate)
162165
{
163166
NSMutableDictionary *customHeaders = nil;
164167
if (self.requestParameters.customWebviewHeaders)

0 commit comments

Comments
 (0)