This repository was archived by the owner on May 17, 2024. It is now read-only.

Description
It would be great to support Browser-based SSO to connect to Snowflake.
When federated authentication is enabled for an account, Snowflake does not recommend maintaining user passwords in Snowflake so using SSO is the only way to connect and authenticate with a Snowflake client.
Currently, if I try to connect with an external authenticator, I get the following error:
data-diff \
"snowflake://<user>@<account>/<database>/<schema>?warehouse=<warehouse>&role=<role>&authenticator='externalbrowser'" \
<table> \
"snowflake://<user>@<account>/<database>/<schema>?warehouse=<warehouse>&role=<role>&authenticator='externalbrowser'" \
<table>
snowflake.connector.errors.ProgrammingError: 251006: Password is empty
In other tools like dbt, this feature is supported by providing the authenticator
option: https://docs.getdbt.com/reference/warehouse-profiles/snowflake-profile#sso-authentication