Skip to content

SNOW-3168502: Add auto-closing for web browser authentication windows #2774

@wenzel-k24

Description

@wenzel-k24

What is the current behavior?

When using authenticator='externalbrowser' with snowflake-connector-python, the connector opens a browser window for SSO authentication. After successful login, a success page is displayed, but the browser window remains open and must be closed manually by the user.

What is the desired behavior?

After successful authentication, the browser window should automatically attempt to close itself.

How would this improve snowflake-connector-python?

How would this improve snowflake-connector-python?
• Improves user experience in CLI and developer workflows
• Reduces friction during repeated authentication
• Prevents accumulation of unnecessary browser windows

References and other background

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions