We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ee8af commit e6b3dedCopy full SHA for e6b3ded
src/commands/handlers/registration.js
@@ -218,7 +218,7 @@ const handlers = {
218
// emit 'sasl failed' with reason 'unsupported_mechanism' and disconnect if requested
219
handleSaslFail(handler, 'unsupported_mechanism');
220
}
221
- } else if (handler.connection.options.account) {
+ } else if (saslAuth || handler.connection.options.sasl_mechanism === 'EXTERNAL') {
222
// The client provided an account for SASL auth but the server did not offer the SASL cap
223
// emit 'sasl failed' with reason 'capability_missing' and disconnect if requested
224
handleSaslFail(handler, 'capability_missing');
0 commit comments