venth / aws-adfs

Command line tool to ease aws cli authentication against ADFS (multi factor authentication with active directory)
MIT License
286 stars 99 forks source link

Fix for DUO Universal Prompt authentication #426

Closed SMxJrz closed 5 months ago

SMxJrz commented 5 months ago

Changing re.sub in line 147 of this file to look for ANY digit in front of the "v" part.

We ran into an issue in our environment because the original code here was looking for "v4" and our DUO setup was returning "v3", so this replacement never happened and resulted in a malformed URL leading to 403 responses from the DUO server.

pdecat commented 5 months ago

Released in https://github.com/venth/aws-adfs/releases/tag/v2.11.2