Authentication object should be 'password' and not 'pass'

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.0.0
    • Component/s: Shell
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      These options https://github.com/mongodb/node-mongodb-native/blob/master/src/mongo_client.ts#L42-L47

      should not have 'pass' , instead it should be 'password' to be compatible with what the shell sends to the driver for authentication. Right now we can workaround / send both, but it's a quick fix. I've included a PR https://github.com/mongodb/node-mongodb-native/pull/2639

       

      For more context: https://mongodb.slack.com/archives/C0V8RU15L/p1606240947131600

       

              Assignee:
              Unassigned
              Reporter:
              Anna Herlihy (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: