Authorization details
Authorization details

As true for mysql you can set up users in mongo to increase the security. When this is done one needs to provide the ODM driver with the information of username, password and authentication database (the database within the connection where the actual user is stored, which is different from the default database. I found after some intense research how it's done and found out it is not mentioned in the docs so I wanted to add it here were it belongs.

doctrine/DoctrineMongoDBBundle