OpenStack CLI Not Working With Okta MFA
Problem
OpenStack CLI tends to not work with Okta Multi-Factor Authentication. The following error message is observed while running any OpenStack command with--debug
option.
Environment
- Platform9 Managed OpenStack - All Versions
- Okta, Google G Suite, One Login, Microsoft ADFS
Cause
Identity provider plugins do not support Multi-Factor Authentication for the command-line interface.
Resolution
We have two workarounds for this issue.
- Disable the MFA for the user in Okta or the identity provider plugin mentioned above.
- Instead of using SSO user-id, you can create a local user-id that can be used for accessing OpenStack through CLI.
Was this page helpful?