Skip to content

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

Description

@dwy6626

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions