Skip to content

Commit

Permalink
Merge pull request #430 from paskal/master
Browse files Browse the repository at this point in the history
Increase waiting sleep for Okta Push to 3 seconds
  • Loading branch information
Mark Wolfe authored Feb 15, 2020
2 parents 5964197 + 9583941 commit 4522b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/okta/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func verifyMfa(oc *Client, oktaOrgHost string, loginDetails *creds.LoginDetails,
switch gjson.Get(string(body), "factorResult").String() {

case "WAITING":
time.Sleep(1000)
time.Sleep(3 * time.Second)
fmt.Printf(".")
logger.Debug("Waiting for user to authorize login")

Expand Down

0 comments on commit 4522b2a

Please sign in to comment.