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

Passing authentication details in server.connect() fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: