Docs Home → Develop Applications → MongoDB Manual
Authenticate a User
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
To authenticate as a user, you must provide a username, password, and the authentication database associated with that user.
Important
Using mongosh
, you can:
For examples using a MongoDB driver, see the driver documentation.