Skip to content

Commit

Permalink
cherry-pick over ruimarinho#102
Browse files Browse the repository at this point in the history
  • Loading branch information
jontg committed Aug 23, 2023
1 parent d25957d commit 62d12a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const credentialsManager = new CredentialsManager(logger, argv.awsRegion, argv['
throw new Error(`Got status code "${ssoPage.status()}" while requesting "${SAML_URL}"`);
}

if (/ServiceLogin|InteractiveLogin/.test(ssoPage.url())) {
if (/ServiceLogin|InteractiveLogin|AccountChooser/.test(ssoPage.url())) {
if (!isAuthenticated && !argv.headful) {
logger.warn('User is not authenticated, spawning headful instance');

Expand Down

0 comments on commit 62d12a7

Please sign in to comment.