这是indexloc提供的服务,不要输入任何密码
Skip to content

Login fails with more than one authentication source configured in 7.0 #6151

@cklein05

Description

@cklein05

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions