Skip to content

Commit 20739ae

Browse files
Copilotsameerag
andcommitted
Add prompt=select_account support for native flows in msal-v5 (#8062)
Co-authored-by: sameerag <[email protected]>
1 parent 3b9ac35 commit 20739ae

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Add prompt=select_account support for native flows in msal-v5 (#8062)",
4+
"packageName": "@azure/msal-browser",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

lib/msal-browser/src/controllers/StandardController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,7 @@ export class StandardController implements IController {
15871587
case Constants.PromptValue.NONE:
15881588
case Constants.PromptValue.CONSENT:
15891589
case Constants.PromptValue.LOGIN:
1590+
case Constants.PromptValue.SELECT_ACCOUNT:
15901591
this.logger.trace(
15911592
"canUsePlatformBroker: prompt is compatible with platform broker flow"
15921593
);

lib/msal-browser/src/interaction_client/PlatformAuthInteractionClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,7 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
10441044
case Constants.PromptValue.NONE:
10451045
case Constants.PromptValue.CONSENT:
10461046
case Constants.PromptValue.LOGIN:
1047+
case Constants.PromptValue.SELECT_ACCOUNT:
10471048
this.logger.trace(
10481049
"initializeNativeRequest: prompt is compatible with native flow"
10491050
);

0 commit comments

Comments
 (0)