saml2aws icon indicating copy to clipboard operation
saml2aws copied to clipboard

Interative shell doesn't work under git bash on windows

Open gaffo opened this issue 6 years ago • 2 comments

If you do say login and it prompts you for password it will just either get "bad input" or complete. Not sure what cli input library is being used.

gaffo avatar Sep 05 '19 05:09 gaffo

I recently ran into this issue too. Running saml2aws under winpty (built in to Git for Windows AFAICT) works around the issue for me - both the configure prompts and interactive login now work flawlessly.

The underlying CLI library is Survey and it has a related open issue: https://github.com/AlecAivazis/survey/issues/148

jlu5 avatar Mar 25 '20 17:03 jlu5

thanks @jlu5 i have used winpty saml2aws login . it worked like charm , same i used for k9s as well.

maduskbx avatar Feb 16 '23 18:02 maduskbx