Unable to add auth-user-pass entry to commands (regression)

Got a problem with Viscosity or need help? Ask here!


User avatar
Posts: 12
Joined: Thu Oct 20, 2016 4:27 am

Post by sbarnea » Fri May 06, 2022 5:40 pm
It appears that latest versions of Viscosity are no longer allowing us to add `auth-user-pass <filename>` to custom commands and instead is just removing them without any warning.

This prevents use of external scripting for dynamic credential entering.

I am sure that this worked for 5+ years but it seems to no longer be possible with 1.10.2.


User avatar
Posts: 2173
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri May 06, 2022 10:03 pm
Hi sbarnea,

If a auth-user-pass file is passed, Viscosity will load the details into the Keychain and remove the file reference.

To pass login details dynamically you should make use of Viscosity's scripting support with a Before Connect script:
https://www.sparklabs.com/support/kb/ar ... redentials

James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1