You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authenticating to AWS using a Yubikey as MFA gives a 500.
YUBICO Token Factor Authentication
Enter 'change factor' to use a different factor
Token:
cccccckevucldnfvcdhklgjrrcgehldhdrydjbtfutul
Exception in thread "main" java.lang.IllegalStateException: Server error when loading Okta AWS App: 500
at com.okta.tools.saml.OktaAppClientImpl.launchApp(OktaAppClientImpl.java:48)
at com.okta.tools.saml.OktaSaml.launchOktaAwsAppWithSessionToken(OktaSaml.java:115)
at com.okta.tools.saml.OktaSaml.getSamlResponseForAws(OktaSaml.java:54)
at com.okta.tools.saml.OktaSaml.getSamlResponse(OktaSaml.java:48)
at com.okta.tools.OktaAwsCliAssumeRole.doRequest(OktaAwsCliAssumeRole.java:132)
at com.okta.tools.OktaAwsCliAssumeRole.run(OktaAwsCliAssumeRole.java:102)
at com.okta.tools.WithOkta.main(WithOkta.java:28)
This was working for the last few years up until 10/13/2023 and is affecting all users in our organization that use Yubikey as MFA for Okta.
To Reproduce
Steps to reproduce the behavior:
Setup Yubikey as MFA by setting OKTA_MFA_CHOICE=YUBICO.token:hardware in ~/.okta/config.properties
Authenticate with username and password
Touch Yubikey when prompted
Get error
Expected behavior
Use Yubikey as MFA.
Additional context
Authentication using a Yubikey still works when using the Okta SSO for AWS via a webpage.
Switching to a different MFA like OKTA_MFA_CHOICE=OKTA.push works.
Building the latest source from git to create okta-aws-cli-3.0.1-SNAPSHOT.jar gives the same error.
Removing ~/.okta/cookies.properties does not change anything.
Describe the bug
Authenticating to AWS using a Yubikey as MFA gives a 500.
This was working for the last few years up until 10/13/2023 and is affecting all users in our organization that use Yubikey as MFA for Okta.
To Reproduce
Steps to reproduce the behavior:
OKTA_MFA_CHOICE=YUBICO.token:hardware
in~/.okta/config.properties
Expected behavior
Use Yubikey as MFA.
Additional context
OKTA_MFA_CHOICE=OKTA.push
works.okta-aws-cli-3.0.1-SNAPSHOT.jar
gives the same error.~/.okta/cookies.properties
does not change anything.contents of
~/.okta/config.properties
:The text was updated successfully, but these errors were encountered: