From fccd74c7bff7f5b57987bf7d1f696d8cfd96a872 Mon Sep 17 00:00:00 2001 From: wenzel-k24 Date: Thu, 26 Feb 2026 17:20:40 +0100 Subject: [PATCH 1/2] Add auto-closing for webbrowser auth windows --- src/snowflake/connector/auth/webbrowser.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/snowflake/connector/auth/webbrowser.py b/src/snowflake/connector/auth/webbrowser.py index 3aa1b3d993..202d041904 100644 --- a/src/snowflake/connector/auth/webbrowser.py +++ b/src/snowflake/connector/auth/webbrowser.py @@ -353,10 +353,23 @@ def _process_receive_saml_token( msg = f""" -SAML Response for Snowflake +SAML Response for Snowflake + Your identity was confirmed and propagated to Snowflake {self._application}. -You can close this window now and go back where you started from. +This window is set to close automatically in 5s or you can close this window manually. +You can go back where you started from. """ content.append(f"Content-Length: {len(msg)}") content.append("") From 282be3a17f9d04f75c140428e47bd684528cad01 Mon Sep 17 00:00:00 2001 From: wenzel-k24 Date: Wed, 3 Jun 2026 13:43:13 +0200 Subject: [PATCH 2/2] Update DESCRIPTION.md --- DESCRIPTION.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DESCRIPTION.md b/DESCRIPTION.md index ad9f2156d1..6cece3a397 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -7,6 +7,8 @@ https://docs.snowflake.com/ Source code is also available at: https://github.com/snowflakedb/snowflake-connector-python # Release Notes +- Upcoming Release + - Added auto-closing of the browser window after successful `externalbrowser` SSO authentication. - v4.6.0(May 28,2026) - Dropped support for Python 3.9. The minimum supported version is now Python 3.10. - Fixed sdist to only install the minicore binary matching the current platform (SNOW-3526469). Previous 4.x releases copied every platform's minicore `.so`/`.dylib`/`.dll` into the install prefix, breaking downstream packagers (e.g. Homebrew) whose audits reject foreign-arch binaries.