External (REMOTE_USER) Authentication

From: Richard Laager <rlaager(at)wiktel(dot)com>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: External (REMOTE_USER) Authentication
Date: 2021-08-30 20:46:51
Message-ID: f3595df5-765b-0a8f-38ce-c8aa5f04c6ba@wiktel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Is there a way to have pgAdmin 4 (the web version) use external, e.g.
Apache-provided, authentication? We have the authentication already
under control in Apache using mod_auth_tkt (so importantly, we are NOT
using LDAP or Kerberos). I simply want pgAdmin 4 to look at the
REMOTE_USER environment variable for the username (and I suppose, create
that user if it does not exist).

Alternatively, is there a way to make pgAdmin 4 use a fixed user /
disable authentication entirely. Since the authentication is being
provided by the web server, the pgAdmin code will not be executed
unless/until the user has authenticated. I do not actually need multiple
users from a pgAdmin perspective, as I'm just trying to administer
"localhost".

--
Richard

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Khushboo Vashi 2021-08-31 05:38:15 Re: External (REMOTE_USER) Authentication
Previous Message Khushboo Vashi 2021-08-20 04:42:32 Re: Downgrade / Install Old Version of pgAdmin4 on Ubuntu