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

Allow forcing Device Token with Okta Identity Engine #469

Open
reegnz opened this issue May 31, 2024 · 0 comments
Open

Allow forcing Device Token with Okta Identity Engine #469

reegnz opened this issue May 31, 2024 · 0 comments

Comments

@reegnz
Copy link

reegnz commented May 31, 2024

Expected Behavior

I want to use device tokens with Okta Identity Engine. The last version I'm aware of that works for me is 2.8.0, started constantly prompting me for MFA in 2.8.1.

Current Behavior

With 2.8.1 this broke and now I'm prompted for MFA on every gimme-aws-creds call.
#457 included this change. #458 tried loosening the restrictrion of not using device tokens with OIE domains, but it still doesn't work for me.

Possible Solution

Just don't hard-code disabling the device token functionality, allow forcing it with a setting (just like forcing classic), because I'm using OIE and device tokens still work for me as not all organizations use step-up authentication, especially if they've recently upgraded from classic to OIE.

Steps to Reproduce (for bugs)

  1. try running gimme-aws-creds --force-classic --register-device with 2.8.2
  2. no device token is created
  3. try running gimme-aws-creds --force-classic --register-device with 2.7.2
  4. device token still works, and frequency of MFA prompts are reduced for subsequent gimme-aws-creds calls

Context

Before 2.8.1 we didn't have any issues, our org has a policy that doesn't require us to MFA on every single login, we allow remembering devices. This worked just fine with Okta classic, now we moved to Okta Identity Engine and I'm contantly facing MFA promts from gimme-aws-creds.
My workaround for it is to downgrade to a version before 2.8.1, but I'd rather have gimme-aws-creds allow me to force remembering the device token, even when on Okta Identity Engine, because in some configurations that still works.

Your Environment

  • App Version used:
  • Environment name and version:
  • Operating System and version:
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

No branches or pull requests

1 participant