Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-486

Connection String AuthSource should default to using connection string database name before defaulting to admin

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.9
    • Affects Version/s: 0.0.8, 0.0.7
    • Labels:
      None

      If an authMechanism is not specified on the connection string, the authSource should always default to the database name specified in the connection string before defaulting to the admin database.

      Add code to ensure that the authSource is set to the database name and only default to admin when the database name is empty.

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: