From fccd74c7bff7f5b57987bf7d1f696d8cfd96a872 Mon Sep 17 00:00:00 2001 From: wenzel-k24 Date: Thu, 26 Feb 2026 17:20:40 +0100 Subject: [PATCH] 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("")