You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest version it's now available to choose auth method for DUO if default one not chosen.
However, despite the fact that it now recognizes the Passcode method, it still works with push only.
Sending request for authentication
Waiting for additional authentication
No default authentication method configured.
Please enter your desired authentication method (Ex: Duo Push): Passcode
Triggering authentication method: 'Passcode'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/zhernovs/.local/lib/python2.7/site-packages/aws_adfs/_duo_authenticator.py", line 132, in _perform_authentication_transaction
ssl_verification_enabled
File "/home/zhernovs/.local/lib/python2.7/site-packages/aws_adfs/_duo_authenticator.py", line 565, in _begin_authentication_transaction
u'Cannot begin authentication process. The error response: {}'.format(response.text)
ClickException: Cannot begin authentication process. The error response: {"message": "Please enter a passcode.", "stat": "FAIL"}
Please add functionality to enter passcode in that case. Some devices just don't support Duo-push.
The text was updated successfully, but these errors were encountered:
Updates in _perform_authentication_transaction method:
Insert at line 134:
if ('Passcode' in preferred_factor) and not use_u2f:
passcode = click.prompt(text='Please enter your passcode (Ex: 123456)', type=str)
else:
passcode = ''
Updated call to _begin_authentication_transaction to pass passcode variable:
In the latest version it's now available to choose auth method for DUO if default one not chosen.
However, despite the fact that it now recognizes the Passcode method, it still works with push only.
Please add functionality to enter passcode in that case. Some devices just don't support Duo-push.
The text was updated successfully, but these errors were encountered: