Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mads Hvelplund committed Mar 30, 2021
1 parent 7afe91b commit 92db0d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ prompt(prompts).then(answers => {

const inputPar = {
UserName: username,
Kmsi: "True",
Password: password
Password: password,
AuthMethod: "FormsAuthentication"
};

let assertion;
Expand All @@ -135,7 +135,7 @@ prompt(prompts).then(answers => {
method: "POST",
followAllRedirects: true,
form: inputPar,
url: `https://${adfsServer}/adfs/ls/idpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices`,
url: `https://${adfsServer}/adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices`,
jar: true
})
.catch(error => {
Expand Down

0 comments on commit 92db0d7

Please sign in to comment.