Skip to content

Commit

Permalink
SNOW-715504 Fix secondary authentication data in authenticators (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko authored Jan 28, 2025
1 parent 7fb2dc4 commit 3dda081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected override void SetSpecializedAuthenticatorData(ref LoginRequestData dat
// Add the token and proof key to the Data
data.Token = _samlResponseToken;
data.ProofKey = _proofKey;
SetSpecializedAuthenticatorData(ref data);
SetSecondaryAuthenticationData(ref data);
}

private string GetLoginUrl(string proofKey, int localPort)
Expand Down
2 changes: 1 addition & 1 deletion Snowflake.Data/Core/Authenticator/KeyPairAuthenticator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected override void SetSpecializedAuthenticatorData(ref LoginRequestData dat
{
// Add the token to the Data attribute
data.Token = jwtToken;
SetSpecializedAuthenticatorData(ref data);
SetSecondaryAuthenticationData(ref data);
}

/// <summary>
Expand Down

0 comments on commit 3dda081

Please sign in to comment.