I have been pulling my hair out over trying to make AuthPDO connect to a Lemmy Postgres database.
It seems to connect to the database fine, all the parameters are set, but when I try to log in it says Sorry, username or password was wrong.
My only guess left is that the automatic recognition of the bcrypt hash with complexity 12 fails on the side of the Dokuwiki plugin.
I documented the SQL queries here: https://f-hub.org/Solarpunk/dokuwiki-auth-lemmy
And I have another Python script that does something similar and works fine here: https://f-hub.org/Solarpunk/ejabberd-auth-lemmy so clearly the issue is not with the bcrypt password hash on the side of Lemmy.
Thanks for the help.