Closed MatthewFlood-BO closed 10 months ago
@MatthewFlood-BO This change breaks if password authentication. Check the #188 fix and see if that works for you.
cc: @jeremiahhansen
Thank you for your contribution @MatthewFlood-BO. We have merged the fix into v3.5.4.
When using
authenticator=externalbrowser
, thesnowflake.connector.connect()
method requires a value for the password parameter. However, if we provide an value for the password in the env variable SNOWFLAKE_PASSWORD, thencli.py
forces password authentication. This means it is currently impossible to use externalbrowser authentication.I would argue that if we set a value for SNOWFLAKE_AUTHENTICATOR, then password authentication is explicitly unwanted.