-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 4.0.0
-
Labels:
Description
The MONGODB-CR authentication mechanism was removed from MongoDB in v4.0.
The {getNonce: 1} command was part of MONGODB-CR's authentication flow, but had to be left in place for compatibility with older versions of the GoLang driver. However, the {getNonce: 1} command is effectively useless for MongoDB purposes and will eventually be removed in a future release of the server.
The documentation page for this command should reflect that applications should not invoke this command directly, and should not expect it to remain available indefinitely.
Fortunately, it's unlikely that any consumer is invoking this directly (it would normally have been part of a driver's auth flow), but it would be irresponsible to document the command existing without warning readers off.
Note that simply removing the documentation for the command would also be acceptable at this point. It was never meant for anyone but driver developers, and is even irrelevant to them now.