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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.6
    • Affects Version/s: None
    • Component/s: Docs
    • None

      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!

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.javaly@mongodb.com Matthew Javaly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: