Using ldap without having an internal user and setting PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD
Why do I need to set PGADMIN_DEFAULT_EMAIL/PGADMIN_DEFAULT_PASSWORD for ldap?
It looks like type internal must always be part of the list and so the two mentioned parameters must be set to create an admin user. But why?
Is it not possible to just use ldap? And therefore a parameter like PGADMIN_DEFAULT_USERNAME could be set? Now if I'm right the value of PGADMIN_DEFAULT_EMAIL is used to set the username.
We would like to use pgAdmin without the possibility of creating internal users. Just LDAP-user.
I have the same question when using oauth2.
+1 useing oauth2.
However i set AUTHENTICATION_SOURCES = ['oauth2'] this at least disables the local login via the ui.