MongoURI::connect() still assumes SCRAM-SHA-1 for URIs which don't have an authentication mechanism explicitly specified.
Check isMaster.saslSupportedMechs before making assumptions.
- duplicates
-
SERVER-39404 SASL negotiation in shell 4.0.5 fails to authenticate SCRAM-SHA-256 user
- Closed
- is depended on by
-
SERVER-39404 SASL negotiation in shell 4.0.5 fails to authenticate SCRAM-SHA-256 user
- Closed