Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1445

Skip registering callbacks if PROVIDER_NAME is set

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: OIDC DB Auth
    • None
    • 2
    • Not Needed
    • Iteration Ankylosaurus

      According to the spec, specifying both OIDC callbacks and the PROVIDER_NAME auth mechanism property is an error.

      Since users may want to use the shell in environments where the machine/non-callback flows work, we should not register callbacks in devtools-connect if PROVIDER_NAME is set in the connection string.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: