Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14222

getNonce command is deprecated

      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.)

            Assignee:
            joseph.dougherty@mongodb.com Joseph Dougherty
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 8 weeks, 4 days ago