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

XMLWordPrintableJSON

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

      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
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: