Skip to content

Latest version of the repo causes "Access_token could not be retrieved" client_id & client secret. #84

@yvanfm91

Description

@yvanfm91

Hello folks!

I have a headache with this problem and I am not able to solve it.... I would like to have your support =)

Well, I consider that is important to mention that 3 month ago, this tool was working in my old laptop, and now I'm trying to install it in another one, but it's impossible to start working with the tool due an error. So...

Previously, if I remember It was working with repo version 1.8.1 or 1.9.0 and python-3.9 and everybody was happy.

Now, with another laptop but the same brand, model, system, and tools... It's not working. I've tried with python-3.8, 3.9, 3.11.... and the latest version of this repo, but still in the same.

The error is:

$ onelogin-aws-assume-role

OneLogin AWS Assume Role Tool

Traceback (most recent call last):
  File "C:\Users\ivan.fernandez\AppData\Local\Programs\Python\Python39\Scripts\onelogin-aws-assume-role-script.py", line 33, in <module>
    sys.exit(load_entry_point('onelogin-aws-assume-role==1.10.1', 'console_scripts', 'onelogin-aws-assume-role')())
  File "C:\Users\ivan.fernandez\AppData\Local\Programs\Python\Python39\lib\site-packages\onelogin_aws_assume_role-1.10.1-py3.9.egg\aws_assume_role\aws_assume_role.py", line 544, in main
  File "C:\Users\ivan.fernandez\AppData\Local\Programs\Python\Python39\lib\site-packages\onelogin_aws_assume_role-1.10.1-py3.9.egg\aws_assume_role\aws_assume_role.py", line 223, in get_client
Exception: Invalid client_id and client_secret. Access_token could not be retrieved

It seems it's related with the file "onelogin.sdk.properties", is in the right location but I don't no why I get that kind of error. I have searched a lot in google, stackoverflow, but nothing solve my problem or gave me an idea of how to solve it.

Could someone please help me? I beg you =(

EXTRA: I use python in a user (or profile) mode, not in a system level, downloaded from the original Python Website.

OS: Windows 10
P.S.: If you need more info, let me know.

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