-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCRAM-SHA-1 missing authSource? #222
Comments
Did take a look mongodb-core that mongodb driver mongojs uses under the hood and found nothing to specify authSource. Already created an issue in mongodb-core project https://github.com/christkv/mongodb-core/issues/32 |
This has to be implemented in mongojs since mongodb-core is a bit to lean for this. Any help appreciated! |
See https://patch-diff.githubusercontent.com/raw/mafintosh/mongojs/pull/231.patch as a quick fix I tried. |
Should be fixed in version 2.0 (released just some seconds ago) |
Sweet, thanks! |
In latest update I see mention of passing an option for specifying authMechanism.
but I don't see how to specify the authority source database for authentication?
For example, in mongodb it's defined in the url along with the authentication mechanism.
More than happy to help with any testing/validation etc.
Thanks
Colin
The text was updated successfully, but these errors were encountered: