Re: reg. running pgadmin in server mode and automatic login

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Sindhu S <sindhu(at)bytebeam(dot)io>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: reg. running pgadmin in server mode and automatic login
Date: 2021-10-14 05:20:00
Message-ID: CAM9w-_kNEV0YkJ7EE-RT_KNtgRux99Qpe8U19SeHr7LNXMq5eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Sindhu,

The URL will change and the key is passed as a security key for the runtime
desktop app.
You can use the python wheel package of pgAdmin -
https://www.pgadmin.org/download/pgadmin-4-python/ and configure it as per
your requirement.

On Wed, Oct 13, 2021 at 8:20 PM Sindhu S <sindhu(at)bytebeam(dot)io> wrote:

> Reposting because I missed asking the mailing list. Please see quoted mail.
> Thank you
>
> On Thu, 30 Sept 2021 at 16:31, Sindhu S <sindhu(at)bytebeam(dot)io> wrote:
>
>> hi,
>>
>> The url (http://127.0.0.1:5050/?key=23ef84fc-f2c9-4b80-ab29-f55246800cca)
>> changes every time pgadmin4 app is run. I do not want this. I want to be
>> able to make:
>>
>> 1.pgadmin4 to run in server mode always (done by adding config)
>> 2. pgadmin4 to have automatic login when running as server.
>>
>> For 2, I took a look at the code inside in /web dir, it should be
>> possible to make a change in the routing logic to have server take
>> "DESKTOP_USER" credentials. I can't tell exactly where to make this change
>> though.
>>
>>>

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Rahul Shirsat 2021-10-14 17:38:17 Re: pgadmin 4 (v6.0) Blank page for MacOS
Previous Message Sindhu S 2021-10-13 14:50:04 Re: reg. running pgadmin in server mode and automatic login