okta-awscli / okta-awscli

Provides Okta authentication for awscli
Apache License 2.0
302 stars 143 forks source link

Using okta-awscli[U2F] does not work with yubikey #139

Open icadariu opened 4 years ago

icadariu commented 4 years ago

Describe the bug

Enter password:
ERROR - Unsupported factorType: webauthn
Registered MFA factors:
1: Okta Verify - Push
2: Okta Verify

To Reproduce Steps to reproduce the behavior:

  1. execute okta-awscli

Expected behavior

Output Output of your okta-awscli run, using the --debug flag

INFO - STS credentials are valid. Nothing to do.
INFO - Force option selected, getting new credentials anyway.
INFO - Using base-url from default profile some_okta_subdomain.okta.com
Enter username: some_user
Enter password: *hidden*
INFO - App Link set as: None
ERROR - Unsupported factorType: webauthn
Registered MFA factors:
1: Okta Verify - Push
2: Okta Verify

Environment (please complete the following information):

Additional context In case this is not a bug, but I forgot to install/configure something, please point me to the right direction.

kholia commented 1 year ago

Hi Folks - I have https://github.com/okta-awscli/okta-awscli/pull/221 PR open now which adds support for FIDO2 YubiKey(s).

Can you please test this PR, and provide some feedback? Thanks!

CC @icadariu as well.