-
Notifications
You must be signed in to change notification settings - Fork 85
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
[feature request] mongodb authentication #844
Comments
It sounds interesting and it shouldn't be complex (just a matter of using the new parameters in the point of the code in which the connection to MongoDB is done). It would be great if somebody supporting the use case (i.e. using MongoDB server with authentication) could provide the implementation. We will be more than happy to review the pull request with this :) Thanks for the feedback! |
I'm not an expert in javascript but this is my suggestion. Maybe it helps: iotagent-node-lib/lib/commonConfig.js Line 87 in 09048b9
iotagent-node-lib/lib/commonConfig.js Line 109 in 09048b9
iotagent-node-lib/lib/commonConfig.js Line 290 in 09048b9
iotagent-node-lib/lib/model/dbConn.js Line 197 in 09048b9
iotagent-node-lib/lib/model/dbConn.js Line 91 in 09048b9
https://github.com/telefonicaid/iotagent-node-lib/blob/master/doc/installationguide.md add new varialbes: |
Fixed by PR #846 |
Hi,
it should be possible to set the mongodb username, password and authdb.
something like:
mongodb.user
mongodb.password
mongodb.authDB
The text was updated successfully, but these errors were encountered: