onelogin-aws-cli
onelogin-aws-cli copied to clipboard
Login Show: Onelogin Error: '500' ''dict_keys' object is not subscriptable'
Expected Behavior
After enter password, it should confirm password and ask for protect token
Current Behavior
After enter password, it crash and show error:
Onelogin Error: '500' ''dict_keys' object is not subscriptable'
Possible Solution
Steps to Reproduce
- create a clean python venv with python 3.8
- pip install onelogin-aws-cli
- onelogin-aws-login
- enter username
- enter password
- it crash
Context (Environment)
Prepare environment setup for a new computer
Possible Implementation
5 days ago, a new version onelogin python SDK released https://github.com/onelogin/onelogin-python-sdk
use pip install onelogin==1.9.1 fix this problem
I suggest to fix the dependency version to older onelogin sdk
seems related to https://github.com/onelogin/onelogin-python-sdk/issues/53
FYI, the onelogin-python-sdk fixed this in 2.0.1 https://github.com/onelogin/onelogin-python-sdk/pull/54 but I still suggest to lock the dependency versions