-
Notifications
You must be signed in to change notification settings - Fork 47
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
Auth not working in newer than 5.x MongoDB #151
Comments
|
It does work with HEAD, but hackage needs to be updated. |
Participants to this thread, would you like to PR a new test for |
I don't dare to promise anything right now, however, when I'm less busy I could give a helping hand. |
That's actually very true! The latest published version is currently unable to login using |
Should this be closed now? It looks like the Hackage was updated in Feb. 2024, or are there still issues with auth? |
I'll add a test for 'auth' and we'll see. |
This is unresolved. mongoDB 4.0 and later uses SHA-256 as the default. However, the version that is on HEAD will use SHA-1 if the version is 3 or higher. https://www.mongodb.com/docs/drivers/go/v1.11/fundamentals/auth/ |
…ersions 4 and greater.
I was using
mongo:latest
in Docker setup and auth did not work at all. Then I found this Reddit thread and I tested versions 3.6, 4.0, 5.0, 6.0 and 7.0 from which after 5.0 auth no longer worked.Perhaps something has changed in 6.0 with auth. 5.0 is better than nothing, but it'd be very nice if latest could be supported.
The text was updated successfully, but these errors were encountered: