From a0c10137f8cbe79c79634fdb2c31b1a28033f51e Mon Sep 17 00:00:00 2001 From: Ilesh garish Date: Thu, 7 Dec 2023 20:04:27 +0000 Subject: [PATCH] Pass proofkey for second call to GS --- .../net/snowflake/client/core/SessionUtilExternalBrowser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/snowflake/client/core/SessionUtilExternalBrowser.java b/src/main/java/net/snowflake/client/core/SessionUtilExternalBrowser.java index b20410da6..79349bb7e 100644 --- a/src/main/java/net/snowflake/client/core/SessionUtilExternalBrowser.java +++ b/src/main/java/net/snowflake/client/core/SessionUtilExternalBrowser.java @@ -219,7 +219,7 @@ private String getSSOUrl(int port) throws SFException, SnowflakeSQLException { private String getConsoleLoginUrl(int port) throws SFException { try { - String proofKey = generateProofKey(); + proofKey = generateProofKey(); String serverUrl = loginInput.getServerUrl(); URIBuilder consoleLoginUriBuilder = new URIBuilder(serverUrl);