venth/aws-adfs

Login issues solved by changing the code and parameters

faridnsh opened this issue · 2 comments

I would normally make a pull request but I wasn't sure what's the best direction to go forward with this. To get this to work with my setup, I had to add &RedirectToIdentityProvider=AD+AUTHORITY to the IDP_ENTRY_URL and also setting AuthMethod as 'FormsAuthentication'.

Setting --provider-id to FormsAuthentication didn't work for me as it only works with urn:amazon:webservices which is the default.

rirze commented

+1, I had to internally set data['AuthMethod'] = 'FormsAuthentication' before the POST command to get it to work. If there's a way to specify this option at the command line, that would be great!

This should be resolved by #151 which was released in v1.24.0: https://github.com/venth/aws-adfs/releases/tag/1.24.0