From 56aa1c178529b2c41a69a4d5ec5e6346f90a5995 Mon Sep 17 00:00:00 2001 From: Przemyslaw Motacki Date: Wed, 5 Mar 2025 14:38:26 +0100 Subject: [PATCH] SNOW-1825478- Support for Oauth PAT --- lib/authentication/authentication.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/authentication/authentication.js b/lib/authentication/authentication.js index 47e27ad9a..7f7daa103 100644 --- a/lib/authentication/authentication.js +++ b/lib/authentication/authentication.js @@ -59,6 +59,7 @@ exports.formAuthJSON = function formAuthJSON( */ exports.getAuthenticator = function getAuthenticator(connectionConfig, httpClient) { const authType = connectionConfig.getAuthenticator(); + const openExternalBrowserCallback = connectionConfig.openExternalBrowserCallback; // Important for SSO in the Snowflake VS Code extension let auth; if (authType === AuthenticationTypes.DEFAULT_AUTHENTICATOR || authType === AuthenticationTypes.USER_PWD_MFA_AUTHENTICATOR) { auth = new AuthDefault(connectionConfig);