Improve Error Message on OIDC Connection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: OIDC DB Auth
    • None
    • 2
    • None

      Problem Statement/Rationale

      Currently when user tries to connect a cluster w/ version below 7.0, the error on mongosh is not clear. It can take a while to understand the root cause.

      Steps to Reproduce

      Connect to MongoDB 6 with authentication type MONGODB-OIDC.

      Expected Results

      The error indicates the server/cluster version does not support MONGODB-OIDC authentication type and it should be 7.0 and above. 

      Actual Results

      Current Error: 

      Received authentication for mechanism MONGODB-OIDC which is not enabled 

       

      Additional Notes

      Any additional information that may be useful to include.

              Assignee:
              Unassigned
              Reporter:
              Fuat Ertunc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: