Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1429

Keyword argument 'user' should say 'username' in Pymongo authentication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: Documentation
    • Labels:
      None

      Description

      Hello all,

      I am using SCRAM-SHA-1 authentication with Pymongo, and the Pymongo docs use the keyword argument 'user' to specify the username. However, when I tried this argument, I received an error:

      pymongo.errors.ConfigurationError: Unknown option user
      

      When I tried again with 'username' instead, it worked fine.

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: