Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Snowflake Python connection using externalbrowser authenticator

I have code to connect to Snowflake through Python using external browser authentication (authenticator parameter set to 'externalbrowser')

I also have installed snowflake-connector-python version 2.3.5

On my machine running snowflake.connector.connect displays the following message, but doesn't open any browser windows to do the authentication: "Initiating login request with your identity provider. A browser window should have opened for you to complete the login. If you can't see it, check existing browser windows, or your OS settings. Press CTRL+C to abort and try again..."

On my old machine it displays the same message, but opens a browser window to log in. What do you think can be causing this problem, and what can I do to fix this? Am I missing a package?

like image 353
Alex F Avatar asked Jul 09 '26 06:07

Alex F


1 Answers

You want to try the troubleshooting suggested by Snowflake blog here EXTERNAL BROWSER SSO FROM CONNECTOR FAILS ON REDIRECT BACK TO LOCALHOST

like image 139
Sharvan Kumar Avatar answered Jul 10 '26 20:07

Sharvan Kumar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!