Validate auth mechanism properties

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Auth, Spec Comp
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst#errors states:

      > Drivers SHOULD raise an error as early as possible when detecting invalid values in a credential. For instance, if a mechanism_property is specified for MONGODB-CR, the driver should raise an error indicating that the property does not apply.

      As far as I can tell, Ruby driver does not validate that user-supplied auth mechanism properties are valid.

              Assignee:
              Emily Giurleo (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: