-
Notifications
You must be signed in to change notification settings - Fork 101
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
Version 0.3.4 returns no roles. #44
Comments
I think that the issue can be related to the changes introduced yesterday. Does your adfs server have duo second factor authentication enabled? Would you like to use --verbose and paste the log? |
We are not using duo second factor auth at present. I've pasted the log below. I eliding the long session/token strings and anonymized the output. 2017-06-21 11:13:42,718 [connectionpool connectionpool.py:_new_conn] [5816-MainProcess] [140336628340480-MainThread] - DEBUG: Starting new HTTPS connection (1): adfs.foobar.com Script is disabled. Click Submit to continue. <script language="javascript">window.setTimeout('document.forms[0].submit()', 0);</script>2017-06-21 11:13:43,672 [connectionpool connectionpool.py:_new_conn] [5816-MainProcess] [140336628340480-MainThread] - DEBUG: Starting new HTTPS connection (1): signin.aws.amazon.com |
I cloned the repo to look at the differences between the versions and noticed a difference in what is tagged in the repo as 0.3.4 and what I got from pip install/pypi. Moreover if I moved the pip installed one out of the way and sym-linked the cloned directory to the venv's site-packages/aws_adfs directory... it works. The files that are different in the cloned version vs the pypi version are; html_roles_fetcher.py and authenticator.py. |
Please, paste the patch, so I can identify origin of these changes. I suspect, that I wrongly packed egg and uploaded it into pypi. |
|
The aws_adfs-do-not-use/authenticator.py one is from pypi, the ../../../../ one is from the git repo. |
OK. I know what has happened. I've created egg from incomplete feature branch: https://github.com/venth/aws-adfs/tree/feature/35_ADFS_with_DUO_list_account_alias_instead_of_account_IDs I need to think about automation of the release process |
I uploaded new version 0.3.5 with one commit (version increase and praises for you for vigilance). Thank you. |
Great. I'll test 0.3.5 with python2.7 and python3.4 and let you know. |
I was able to refresh my current session without problem using both python 2.7 and 3.4. So I think you got it. Thanks! |
I have an existing 0.3.3 setup with python2.7 that works, logging me in with the appropriate role. After I upgrade to 0.3.4 it gives me "This account does not have access to any roles". I ran "pip install -I aws-adfs==0.3.3" to downgrade back to 0.3.3 and it works again.
Is there some configuration setting that I might have changed. I tried moving my .aws folder out of the way and starting from scratch, but that didn't help. When I do that though, I get this error before it prompts me for a usersname. Not sure if it is related or not.
2017-06-20 21:13:16,637 [authenticator authenticator.py:authenticate] [10592-MainProcess] [140651283568384-MainThread] - ERROR: Cannot extract saml assertion. Second factor authentication failed?
Thanks.
The text was updated successfully, but these errors were encountered: