Summary
Error if URI has username and no password for MONGODB-AWS
Background & Motivation
Tests for the MONGODB-AWS auth mechanism were added in SPEC-1515 but missed when implementing MONGODB-AWS.
The following MONGODB-AWS test fails:
{ "description": "should throw an exception if username and no password (MONGODB-AWS)", "uri": "mongodb://user@localhost/?authMechanism=MONGODB-AWS", "valid": false, "credential": null }
The expected error is not returned. As a workaround, this test is planned to be skipped (search code for this ticket number).
- causes
-
PHPC-2542 Investigate changes in CDRIVER-5811: Error if URI has username and no password for MONGODB-AWS
-
- Backlog
-
- is related to
-
CDRIVER-5812 Return default $external auth source for MONGODB-AWS
-
- Closed
-