Skip to content

Commit

Permalink
Merge pull request #102 from roeezab/patch-1
Browse files Browse the repository at this point in the history
added AccountChooser in ssoPage url test
  • Loading branch information
ruimarinho authored Aug 1, 2023
2 parents e23525e + e1d85b7 commit 0519833
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 @@ -264,7 +264,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 0519833

Please sign in to comment.