Before Connect script generating credentials
Posted: Tue May 25, 2021 2:11 am
I'm running Viscosity 1.9.3 (1571) and I've been trying to get my BeforeConnect script working to generate credentials. I've verified that my script returns the correct "userpass <username> <password>" values with no spaces or quotes in the actual username or password values. When I try to establish the VPN connection, though, Viscosity still prompts me for credentials and both the username and password values are empty. Any suggestions on how to debug this?
Another observation - when I cancel out of the credentials dialog, Viscosity still saves the password (but not the username) to the keychain. and the value is empty. If I delete the password value from the keychain, Viscosity replaces it the next time I try to connect, regardless of whether the "save credentials" checkbox is checked. Not sure if that's related or not.
Appreciate any ideas!
Another observation - when I cancel out of the credentials dialog, Viscosity still saves the password (but not the username) to the keychain. and the value is empty. If I delete the password value from the keychain, Viscosity replaces it the next time I try to connect, regardless of whether the "save credentials" checkbox is checked. Not sure if that's related or not.
Appreciate any ideas!