MongoDB supports the following authentication mechanisms:
Changed in version 3.0: New challenge-response users created in 3.0 will use
SCRAM-SHA-1. If using 2.6 user data, MongoDB 3.0 will continue to use the
In addition, MongoDB Enterprise also provides supports for additional mechanisms. See Enterprise Authentication Mechanisms for additional mechanisms available in MongoDB Enterprise.
Default Authentication Mechanism¶
Changed in version 3.0.