elixir-explorer / adbc

Apache Arrow ADBC bindings for Elixir
https://arrow.apache.org/adbc/
Apache License 2.0
50 stars 16 forks source link

EXTERNALBROWSER login doesn't work for snowflake #104

Open kwando opened 1 week ago

kwando commented 1 week ago
 {:ok, database} =
      Adbc.Database.start_link(
        driver: :snowflake,
        "adbc.snowflake.sql.account": account,
        "adbc.snowflake.sql.user":  username,
        "adbc.snowflake.sql.auth_type": "auth_ext_browser",
        "adbc.snowflake.sql.client_option.tracing": "debug"
      )

The browser window is opened but the redirect back to localhost seems to hang for some reason, something is running on localhost cause the browser window doesnt show an error until I kill the Elixir process. Any ideas?

cocoa-xu commented 1 week ago

Hi @kwando, Thanks for reporting this issue. I have some idea of what might cause it. I'll get a Snowflake trial account and test it!

kwando commented 1 week ago

Let me know if there is anything I can do to help!