Skip to content

Commit d914111

Browse files
authored
fix(NODE-6407): use conversationId returned by the server instead of hardcoded integer in SASL implementation for MONGODB-AWS. (#4258)
1 parent e4dc740 commit d914111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmap/auth/mongodb_aws.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class MongoDBAWS extends AuthProvider {
148148

149149
const saslContinue = {
150150
saslContinue: 1,
151-
conversationId: 1,
151+
conversationId: saslStartResponse.conversationId,
152152
payload: BSON.serialize(payload, bsonOptions)
153153
};
154154

0 commit comments

Comments
 (0)