Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5034

OIDC Connection String Option Support

    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Add support for new connection string options and options being passed into the MongoClient for OIDC.

      AC:

      1. Sync the new connection string spec tests from https://github.com/mongodb/specifications/pull/1365/files
      2. Add support for the following auth mechanism properties: PRINCIPAL_NAME, DEVICE_NAME, REQUEST_TOKEN_CALLBACK, REFRESH_TOKEN_CALLBACK
      3. Create types for the callback functions, OIDCRequestTokenResult, and OIDCMechanismServerStep1
      4. Fail validation for the following cases:
      1. Refresh callback without request callback
      2. No callbacks and no device name
      3. Device name is not one of "aws", "gcp" or "azure"
      4. Device name but no credentials found

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: