[DOCS-14222] getNonce command is deprecated Created: 12/Feb/21  Updated: 30/Oct/23  Due: 26/Feb/21  Resolved: 22/Feb/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: 4.0.0
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: Sara Golemon Assignee: Joseph Dougherty
Resolution: Fixed Votes: 0
Labels: quick-win
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 50 weeks, 2 days ago
Epic Link: DOCSP-11701
Story Points: 1

 Description   

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.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 22/Feb/21 ]

Author:

{'name': 'Joseph Dougherty', 'email': 'joseph.dougherty@mongodb.com', 'username': 'jmd-mongo'}

Message: DOCS-14222 deprecates getnonce command
Branch: v5.0
https://github.com/mongodb/docs/commit/2db8ac2b8775445240d168d4f6c3ca8b3a2e4d43

Comment by Githook User [ 22/Feb/21 ]

Author:

{'name': 'Joseph Dougherty', 'email': 'joseph.dougherty@mongodb.com', 'username': 'jmd-mongo'}

Message: DOCS-14222 deprecates getnonce command
Branch: v4.0
https://github.com/mongodb/docs/commit/5e1e1c0df70b65e61fd0fc64b064554460a5dc3a

Comment by Githook User [ 22/Feb/21 ]

Author:

{'name': 'Joseph Dougherty', 'email': 'joseph.dougherty@mongodb.com', 'username': 'jmd-mongo'}

Message: DOCS-14222 deprecates getnonce command
Branch: v4.2
https://github.com/mongodb/docs/commit/9d3c18fc6d73c865bbf2fec124551f8a10c0175c

Comment by Githook User [ 22/Feb/21 ]

Author:

{'name': 'Joseph Dougherty', 'email': 'joseph.dougherty@mongodb.com', 'username': 'jmd-mongo'}

Message: DOCS-14222 deprecates getnonce command
Branch: master
https://github.com/mongodb/docs/commit/cba56cae1597bd821f03a8e907a391d172c63c13

Generated at Thu Feb 08 08:09:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.