snowflakedb / snowflakedb/snowflake-connector-python

SNOW-3032363: Support VSCode remote environments

Open
#2,753 7 comments 0 reactions 1 assignee View on GitHub

@sfc-gh-snow-drivers-warsaw-dl is already working on this.

Since Feb 1, 2026.

enhancement status-triage_done
Dominant language
Python
Stars
730
Forks
574
Avg merge
5h 45m
Merged PRs (30d)
16

Description

https://github.com/snowflakedb/snowflake-connector-python/blob/d82300f8c46d65f9ab13f9450562a2f544820c9d/src/snowflake/connector/auth/webbrowser.py#L171

Also fixes https://snowflake.discourse.group/t/how-do-you-make-sso-externalbrowser-work-with-snowflake-extension-in-vs-code-remote-code-server/4159

Can you improve this step by checking for the env var $TERM_PROGRAM, If this is set to vscode, allow pasting the callback URL even if a browser was opened. This makes sure that oauth always works even in remote environments.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.