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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Duplicate
    • None
    • 3.6
    • Docs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: