Open partyzan opened 9 years ago
Hmmm... can you help us with a PR? I'm having a hard time to keep up with all the projects...
Did some more testing based on the code and PyMongo documentation - authentication works when using mongo URI to connect as the host:
motorengine.connect(db=name, alias=alias, host="mongodb://username:password@127.0.0.1:27017", io_loop=tornado.ioloop.IOLoop.instance())
So only documentation should be updated :)
Passing
username
andpassword
arguments to connect fails with :According to Motor manual the MotorClient should be created with uri for authentication :