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

Investigate NODE-3795 - Error "No AuthProvider for DEFAULT defined"

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Not Needed

      NODE-3795 Description

      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:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: