Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-lf committed Apr 19, 2024
1 parent 4e6869d commit 3788474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/Session/SFSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 3788474

Please sign in to comment.