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

Error "No AuthProvider for DEFAULT defined"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4.0
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed

      When connecting to mongodb without authentication (so without username and password specified in uri), but with authSource=admin option I get an error "No AuthProvider for DEFAULT defined." This occurs after upgrading from mongodb driver version 3.x to 4.x. Documentation still says that authSource is ignored, when no username is specified.

       

      Driver version = 4.2.1

      Mongo Db version = 5.0.4

            Assignee:
            sam.zhang@mongodb.com Sam Zhang (Inactive)
            Reporter:
            marcus.trepte@elevait.de Marcus Trepte
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: