Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1074

Passing authentication details in server.connect() fails

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      The mongodb-core test Should correctly authenticate server using scram-sha-1 using connect auth fails because the following command is not correctly performing authentication:

      server.connect({auth: [method, 'admin', 'root', 'root']})
      

      This is documented as a valid way to connect to the server, so it should work.

      This is the reason that the auth topology tests are failing.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sebastian.hallumclarke Sebastian Hallum Clarke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: