-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 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.