Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase waiting sleep for Okta Push to 3 seconds #430

Merged
merged 2 commits into from
Feb 15, 2020
Merged

Increase waiting sleep for Okta Push to 3 seconds #430

merged 2 commits into from
Feb 15, 2020

Conversation

paskal
Copy link
Contributor

@paskal paskal commented Feb 11, 2020

In line with IdentifierDuoMfa:

time.Sleep(3 * time.Second)

I've stumbled upon a problem (#429) where Okta Push MFA getting an error after 8 successful calls to API, which is with current timeouts is 800ms. With this change in place, I'll still get an error after 8 successful calls, but it will give me 24 seconds to push "Yes, it's me" button on my phone in the Okta app instead of current ~1 second.

Details of the problem are in the linked issue.

@paskal paskal changed the title Increase waiting sleep for Okta Push for 2 seconds Increase waiting sleep for Okta Push to 3 seconds Feb 11, 2020
@paskal
Copy link
Contributor Author

paskal commented Feb 11, 2020

Previously users will get their verification acknowledged by the saml2aws almost immediately and will get their credentials saved after that. After this PR will be merged, the user will have to wait up to three seconds to get the credentials after they push "Yes, it's me" button in the Okta app.

As a side note, this is similar to how okta.com web interface itself works for me: after I push the button in the app, I need to wait a few seconds before browser will recognize it and move to the next screen.

@paskal
Copy link
Contributor Author

paskal commented Feb 15, 2020

@wolfeidau?

@wolfeidau wolfeidau merged commit 4522b2a into Versent:master Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants