Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1729

Validate auth mechanism properties

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Auth, Spec Comp
    • 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@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: