-
Notifications
You must be signed in to change notification settings - Fork 796
Description
After having upgraded to version 7.0, no user was able to log into pgAdmin 4 anymore. For any login attempt, the message Incorrect username or password. is shown. Logon credentials have been entered correctly and have worked well before.
pgAdmin runs in server mode on a recent Ubuntu 22.04 LTS and was installed/upgraded through pgAdmin's Debian/Ubuntu repository.
Login fails, if there are more than one authentication source is configured. In this certain case, two authentication sources, ldap and internal, are configured:
AUTHENTICATION_SOURCES = ['ldap', 'internal']Although I cannot test other authentication sources, I guess that the same problem arises with other authentication sources as well (as long as there are more than one sources).
Login succeeds, if only one authentication source is configured at a time. That is, using only ldap or using only internal works without any issues.