Report a more helpful error with unsupported authMechanism in initial handshake

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.6.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      Currently if there's an issue with the mechanism, there will be a "TypeError: Cannot read property 'prepare' of undefined" thrown. We should catch and create a more useful error.

      GH PR
      Issue encountered with mongoose

      Dependencies

      • none

      Unknowns

      • none

      Acceptance Criteria

      Implementation Requirements
      • create and pass an error to the callback when there's no auth provider found for the specified mechanism.
      Testing Requirements
      • none
      Documentation Requirements
      • none
      Follow Up Requirements
      • none

              Assignee:
              Unassigned
              Reporter:
              Neal Beeken
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: