Skip to content
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

allow mongodb connection handles to include an authorization database specification #36

Open
sierra-moxon opened this issue Feb 13, 2025 · 0 comments

Comments

@sierra-moxon
Copy link
Member

currently supported handle for mongodb connection parameters:

mongodb://localhost:27017/test_db

also for mongo, if we want to specify authentication params in our handles, we had some extra characters at the end of the handle like this:

mongodb://test_user:test_password@localhost:27017/test_db?authSource=admin

we need to adjust the _db_name function that extracts the db name from the handle to take authSource param into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant