Set yourself fresh pgAdmin4, entered it, asked for the master password.
Then decided to log out, but not finding a special button for that just cleaned cookies. But instead of the expected redirect to the form login I get a 401 Unauthorized. Forms for login anywhere, I even tried all sorts of random /login to drive, but without result. Now how to login in it?
In the tray there is an icon pgAdmin4 direction, her RMB brings up a context menu where the first item is "New pgAdmin window... 4" direction, which opens a tab with a new session.
marquise_Dietrich answered on April 19th 20 at 12:41
Use the IP address or domain name of the server followed by / pgAdmin4 as the URL of the subdirectory.