Impossible to use SnowSQL 'authenticator = externalbrowser' #781
Replies: 2 comments
-
I don't know. Sqitch itself connects to the database using ODBC but runs the scripts through the SnowSQL client. From the odbc docs, it looks like you can specify |
Beta Was this translation helpful? Give feedback.
-
Just tried but still not working.
Nothing in SnowSQL
Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Hi @sqitch,
OS: Windows 10
Sqitch version: sqitch.bat (App::Sqitch) v1.4.0
Engine: Snowflake
Client: snowsql.exe
Recently in the organization some Snowflake connection restrictions were implemented - IPs were whitelisted.
After this, it's impossible to use Snowflake
username
andpassword
from my dev local host in the SnowSQL (client) config.I need to use my organization email as a
username
and SSO approach to connect to Snowflake.It works fine when I use SnowSQL as is. Its config looks like (extraction):
$ ../.snowsql/config
When I run some SnowSQL command (e.g.
snowsql --filename c:\some.sql
), it opens my local browser where I do authentication then it works fine.However, it does not work in conjunction with Sqitch. Sqitch throws the following exception:
$ sqitch status
[Snowflake][DSI] (20032) Required setting 'PWD' is not present in the connection settings. (SQL-28000)
Does Sqitch support client's
authenticator = externalbrowser
connection approach?Any suggestions how to solve the problem.
Beta Was this translation helpful? Give feedback.
All reactions