vlaci / openconnect-sso

Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs
GNU General Public License v3.0
295 stars 127 forks source link

Why my password is automatically filled in the web browser? #18

Closed zhengyu-yang closed 4 years ago

zhengyu-yang commented 4 years ago

When I login, the browser pop up with my password filled in. I am using mac. Is this supposed to happen and how does it get my password?

vlaci commented 4 years ago

The password is saved to your keychain using the keyring python package. If this behavior is undesirable to you, then remove your password from your keychain and leave out --user command line argument.

Currently there is no way to opt out from saving the password when it is entered in the command line.

zhengyu-yang commented 4 years ago

I have just found out the part of code responsible for this before seeing your reply. Good to know this package. This is a desirable feature for me.