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

dustinblackman okta multi fido #630

Merged
merged 2 commits into from
Mar 11, 2021
Merged

Conversation

wolfeidau
Copy link
Contributor

@wolfeidau wolfeidau commented Mar 11, 2021

I have taken the code from #564 and refactored / adjusted it a little.

Overview

Okta allows you to attach multiple Fido devices to your account, but saml2aws will only attempt the use the first device in the list returned from Okta. This results in an authentication failure if the local device does not match, with no way to select another device. This PR iterates through each Fido device on the account looking for a match on the local system.

This required a slight refactor to make requests to Okta's verification endpoints more reusable, but will make future refactoring easier.

@wolfeidau wolfeidau merged commit cd49354 into master Mar 11, 2021
@wolfeidau wolfeidau deleted the dustinblackman-okta-multi-fido branch March 11, 2021 19:23
@wolfeidau
Copy link
Contributor Author

@dustinblackman I made sure i kept your original commit and just refactored from there, this ensures the main chunk of the change is still attributed to you even though i rebased / refactored.

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.

1 participant