Support for LinOTP MFA, some issues
Hi, we have ADFS v4 and LINOTP MFA integration, We have been previously using a version of the AWS Tool that i modified to submit the challenge response token, but it has broken since the update to ADFS 4.
Some questions,
- has anyone used ADFS v4 and LinOTP MFA? I read somewhere here you can just pass the token the same time as the password, like [password,token]?
- I am unable to even get to the login submit, am i doing something really basically wrong?, error below:-
$# aws-adfs -v login --adfs-host=https://federation.blabla.com --provider-id urn:amazon:webservices
2018-03-16 10:16:08,815 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable profile from instance vars with value 'default123'.
2018-03-16 10:16:08,816 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable config_file from defaults.
2018-03-16 10:16:08,820 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable credentials_file from defaults.
2018-03-16 10:16:08,822 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable profile from instance vars with value 'default'.
2018-03-16 10:16:08,822 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable config_file from defaults.
2018-03-16 10:16:08,823 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable credentials_file from defaults.
2018-03-16 10:16:08,825 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable profile from defaults.
2018-03-16 10:16:08,826 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable config_file from defaults.
2018-03-16 10:16:08,827 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable credentials_file from defaults.
2018-03-16 10:16:08,835 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable region from defaults.
2018-03-16 10:16:08,836 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable profile from defaults.
2018-03-16 10:16:08,837 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable region from defaults.
2018-03-16 10:16:08,847 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable profile from defaults.
2018-03-16 10:16:08,848 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable credentials_file from defaults.
2018-03-16 10:16:08,855 [session session.py:get_config_variable] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Loading variable config_file from defaults.
2018-03-16 10:16:08,860 [html_roles_fetcher html_roles_fetcher.py:fetch_html_encoded_roles] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Attempt to load authentication cookies into session failed. Re-authentication will be performed. The error:
2018-03-16 10:16:08,870 [connectionpool connectionpool.py:_new_conn] [85-MainProcess] [140514959558400-MainThread] - DEBUG: Starting new HTTPS connection (1): https
Traceback (most recent call last):
File "/usr/local/bin/aws-adfs", line 9, in
just wanted to update this, ive managed to see the error in my ways and get past the connection errors above by properly formatting my command, but im still stuck on the LinOTP 2FA part... can anyone help? is there a particular way to pass the token? ive tried adding it like "password,token" but no luck
2018-03-20 09:30:39,853 [authenticator authenticator.py:authenticate] [4876-MainProcess] [140089741334336-MainThread] - ERROR: Cannot extract saml assertion. Re-authentication needed? 2018-03-20 09:30:39,853 [authenticator authenticator.py:authenticate] [4876-MainProcess] [140089741334336-MainThread] - DEBUG: Roles along with principals found after authentication: None
Could we schedule a talk over hangouts? What do you think?
perfect! im PM you
ok, looks like i cant PM here anymore, how can i contact you?
artur(dot)krysiak(dot)warszawa(at)gmail(dot)com
How integrate LinOTP with AD FS V4.0 and aws you have some doc can help me plz ?