[COMPASS-7308] Compass uses invalid authMechanism=DEFAULT for username/password Created: 06/Oct/23 Updated: 22/Nov/23 Resolved: 22/Nov/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.40.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | James Kovacs | Assignee: | Maurizio Casimirri |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: |
||
| Story Points: | 2 |
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Minmi, Iteration Nodosaurus, Iteration Pterodactyl |
| Description |
Problem Statement/RationaleCompass adds authMechanism=DEFAULT to the connection string when username/password auth is selected under advanced connection options. According to the Auth Spec, authMechanism should be omitted if default authMechanism rules are desired. A user submitted a PR for the .NET/C# Driver because it is throwing an exception with the connection string copied from Compass. Steps to Reproduce
Expected ResultsNo authMechanism URI option should be present in the connection string. Actual ResultsauthMechanism=DEFAULT is added to the connection string. Additional NotesPR submitted for the .NET/C# Driver: https://github.com/mongodb/mongo-csharp-driver/pull/1191 |
| Comments |
| Comment by Githook User [ 01/Nov/23 ] |
|
Author: {'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}Message: feat: remove NONE and authMechanism=DEFAULT
|
| Comment by Githook User [ 30/Oct/23 ] |
|
Author: {'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}Message: feat: remove NONE and authMechanism=DEFAULT
|
| Comment by Githook User [ 24/Oct/23 ] |
|
Author: {'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}Message: feat: remove NONE and authMechanism=DEFAULT
|
| Comment by Githook User [ 24/Oct/23 ] |
|
Author: {'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}Message: feat: remove NONE and authMechanism=DEFAULT
|
| Comment by Githook User [ 23/Oct/23 ] |
|
Author: {'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}Message: Merge branch 'main' into |