From 378847492ac2d02d329209c5e6496aa46cfa2069 Mon Sep 17 00:00:00 2001 From: sfc-gh-ext-simba-lf Date: Fri, 19 Apr 2024 13:53:19 -0700 Subject: [PATCH] Fix test --- Snowflake.Data/Core/Session/SFSession.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snowflake.Data/Core/Session/SFSession.cs b/Snowflake.Data/Core/Session/SFSession.cs index a43303c70..4b6b27c11 100644 --- a/Snowflake.Data/Core/Session/SFSession.cs +++ b/Snowflake.Data/Core/Session/SFSession.cs @@ -107,7 +107,7 @@ internal void ProcessLoginResponse(LoginResponse authnResponse) { logger.Debug("Query context cache disabled."); } - if (_allowSSOTokenCaching && !string.IsNullOrEmpty(_idToken)) + if (_allowSSOTokenCaching && !string.IsNullOrEmpty(authnResponse.data.idToken)) { _idToken = authnResponse.data.idToken; var key = SnowflakeCredentialManagerFactory.BuildCredentialKey(properties[SFSessionProperty.HOST], properties[SFSessionProperty.USER], TokenType.IdToken.ToString());