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

Issues with login #108

Open
rrkraft opened this issue Nov 9, 2018 · 3 comments
Open

Issues with login #108

rrkraft opened this issue Nov 9, 2018 · 3 comments
Labels
question waiting Waiting for answer

Comments

@rrkraft
Copy link

rrkraft commented Nov 9, 2018

When I try to use it I get the proper notification on my phone to approve the login but the application doesn't wait but gives me this error:

aws-adfs login --env --adfs-host sso.XXXXXX.com
2018-11-08 21:18:07,852 [authenticator authenticator.py:authenticate] [18295-MainProcess] [139640110843712-MainThread] - ERROR: Cannot extract saml assertion. Re-authentication needed?
2018-11-08 21:18:10,206 [authenticator authenticator.py:authenticate] [18295-MainProcess] [139640110843712-MainThread] - ERROR: Cannot extract saml assertion. Re-authentication needed?
This account does not have access to any roles

Any idea?

@synergiator
Copy link

synergiator commented Nov 16, 2018

I can confirm exactly same behavior with:

Xubuntu LTS 18.05
Python 3.6.6
aws-adfs 1.12.2
aws/cli 1.14.44

@rrkraft though first check whether your "normal" web UI login works, as in my case I see though role selection displayed in the browser but after choosing one I get access denied. So that could be an issue with the identity provider configuration. Sure, not clear why aws-adfs doesn't list roles.

UPD now as ADFS account/role selection is properly configured, there is still same error with aws-adfs.

@JackOneil
Copy link

I have the same problem. I have tried different methods of authentication (push to phone, sms, call) as the sms is waiting for user input of the code, push notification only sends request to allow or deny access and it does not work too.
Strange is that when i enter username, push is sent and when i enter password, another push is sent (tried to allow them before i put password but no success)

@pdecat
Copy link
Collaborator

pdecat commented Sep 23, 2021

You should be able to get more details about what's going on by adding --verbose to your aws-adfs login command, e.g. aws-adfs --verbose login ....

Note: you should have traces of the HTTP requests / responses that are happening.
In case you want to share some parts here, be careful to redact all sensitive content such as login, tokens, etc.

@pdecat pdecat added question waiting Waiting for answer labels Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question waiting Waiting for answer
Projects
None yet
Development

No branches or pull requests

4 participants