Skip to content

Commit

Permalink
Merge pull request #2634 from bagerard/elaborate_authentication_break…
Browse files Browse the repository at this point in the history
…ing_change_authsource

elaborate_authentication_breaking_change_authsource
  • Loading branch information
bagerard authored Mar 9, 2022
2 parents 23ab63c + be0c2ff commit dbc31f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ Changes in 0.24.0
documents the extended functionality which is no longer supported. Rewrite
the unsupported queries or fetch the whole result set and perform the count
locally.
- Pymongo 4 removed db.authenticate(), on which we were relying for authenticating
with username/password. The migration involved switching to providing credentials to
MongoClient BUT in case the authSource isn't provided, db.authenticate used to default to
authSource=current-database and MongoClient defaults to authSource="admin". Long story short,
if you observe authentication issue after migrating, make sure you provide the authSource
explicitly. (see #2626)

Changes in 0.23.1
=================
Expand Down

0 comments on commit dbc31f0

Please sign in to comment.