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

Login Show: Onelogin Error: '500' ''dict_keys' object is not subscriptable' #151

Open
dwy6626 opened this issue Jul 28, 2021 · 2 comments
Open

Comments

@dwy6626
Copy link

dwy6626 commented Jul 28, 2021

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

  1. create a clean python venv with python 3.8
  2. pip install onelogin-aws-cli
  3. onelogin-aws-login
  4. enter username
  5. enter password
  6. 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

@dwy6626
Copy link
Author

dwy6626 commented Jul 28, 2021

seems related to onelogin/onelogin-python-sdk#53

@dwy6626
Copy link
Author

dwy6626 commented Aug 5, 2021

FYI, the onelogin-python-sdk fixed this in 2.0.1 onelogin/onelogin-python-sdk#54
but I still suggest to lock the dependency versions

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