Skip to content

fix: Allow browser authentication to Snowflake from the Deploy pane#1290

Open
atheriel wants to merge 1 commit intomainfrom
aj-interactive-in-deploy-pane
Open

fix: Allow browser authentication to Snowflake from the Deploy pane#1290
atheriel wants to merge 1 commit intomainfrom
aj-interactive-in-deploy-pane

Conversation

@atheriel
Copy link
Contributor

The snowflakeauth package only permits external browser authentication from interactive contexts, which makes sense in most cases.

However, push-button deployments from the RStudio IDE actually run in a separate Deploy pane, not from the interactive console -- which isn't considered "interactive" by default.

So this commit tells rlang to temporarily treat this as an interactive context, which allows the browser flow to work.

This actually requires a change to the snowflakeauth package as well: posit-dev/snowflakeauth@dbd4830. We'll have to get another release of that package out to enable this fix to work properly.

Fixes #1289.

@atheriel atheriel requested a review from aronatkins January 20, 2026 21:05
The `snowflakeauth` package only permits external browser authentication
from interactive contexts, which makes sense in most cases.

However, push-button deployments from the RStudio IDE actually run in a
separate Deploy pane, not from the interactive console -- which isn't
considered "interactive" by default.

So this commit tells `rlang` to temporarily treat this as an interactive
context, which allows the browser flow to work.

Fixes #1289.

Signed-off-by: Aaron Jacobs <aaron.jacobs@posit.co>
@atheriel atheriel force-pushed the aj-interactive-in-deploy-pane branch from b569eb9 to 5cede55 Compare January 23, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interactive Snowflake authentication doesn't work when deploying from RStudio

1 participant