aws-azure-login / aws-azure-login

Use Azure AD SSO to log into the AWS via CLI.
MIT License
594 stars 266 forks source link

Username is sometimes requested twice #62

Closed tomisaacson closed 4 years ago

tomisaacson commented 5 years ago

I'm using Ubuntu 18.04 and occasionally when I request a profile I get asked for the username twice:

$ aws-azure-login --profile myprofile
Logging in with profile 'myprofile'...
? Username: me@myemail.com
? Username: me@myemail.com
Please enter your password.
? Password: [hidden]

It's annoying because if I don't spot this I type my password in the second username prompt and it appears as clear text.

davepattie commented 4 years ago

This is probably caused by passwordless MFA auth where it's popping up on the screen a number for you to confirm with your phone. This is the same behaviour I get with this issue - https://github.com/sportradar/aws-azure-login/issues/52 but that's not received a response either

kennethaasan commented 4 years ago

Definitely looks like the same problem. Closing this in favor of #52