Skip to content

Commit 3dda081

Browse files
SNOW-715504 Fix secondary authentication data in authenticators (#1086)
1 parent 7fb2dc4 commit 3dda081

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Snowflake.Data/Core/Authenticator/ExternalBrowserAuthenticator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ protected override void SetSpecializedAuthenticatorData(ref LoginRequestData dat
260260
// Add the token and proof key to the Data
261261
data.Token = _samlResponseToken;
262262
data.ProofKey = _proofKey;
263-
SetSpecializedAuthenticatorData(ref data);
263+
SetSecondaryAuthenticationData(ref data);
264264
}
265265

266266
private string GetLoginUrl(string proofKey, int localPort)

Snowflake.Data/Core/Authenticator/KeyPairAuthenticator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected override void SetSpecializedAuthenticatorData(ref LoginRequestData dat
7575
{
7676
// Add the token to the Data attribute
7777
data.Token = jwtToken;
78-
SetSpecializedAuthenticatorData(ref data);
78+
SetSecondaryAuthenticationData(ref data);
7979
}
8080

8181
/// <summary>

0 commit comments

Comments
 (0)