[pgAdmin4][Patch] - RM #6953 - Webserver Authentication enhancement - Mailing list pgadmin-hackers

From Khushboo Vashi
Subject [pgAdmin4][Patch] - RM #6953 - Webserver Authentication enhancement
Date
Msg-id CAFOhELda-+YpXUBTGqd9PWROSuxYMsKJC2bGz+tPcONrxUA63g@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch] - RM #6953 - Webserver Authentication enhancement
List pgadmin-hackers
Hi,

Please find the attached patch for the RM # 6953 - Webserver Authentication: Include headers coming from servers.

In the RM, 2 users have provided the solution, I have merged them.

As per the current behaviour, pgAdmin only considers the REMOTE_USER environment variable (set by the webserver). In this patch, we have introduced the WEBSERVER_REMOTE_USER config variable, so users can modify it as per their environment. Also, we check for the environment as well as request headers for the remote user details.

Thanks,
Khushboo
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: Feature Test Fix - React porting
Next
From: Dave Page
Date:
Subject: Re: Issue tracking