I have deployed phpPgAdmin to Heroku, to connect to a Postgres installation. The admin panel appears and the database shows up under servers properly. With what I am positive are the correct username and password I get "Login failed".
I have read the "I always get “Login failed” even though I'm sure I'm using the right username and password." section of the documentation and the recommendations are config changes to PostgreSQL server - which obviously I cannot change as it is hosted on Heroku.
My config:
$conf['servers'][0]['desc'] = 'My Postgres DB';
$conf['servers'][0]['host'] = 'xxx-xx-xxx-xxx-xx.compute-1.amazonaws.com';
$conf['servers'][0]['port'] = 5432;
$conf['servers'][0]['sslmode'] = 'require';
$conf['servers'][0]['defaultdb'] = 'postgres';
$conf['servers'][0]['pg_dump_path'] = '';
$conf['servers'][0]['pg_dumpall_path'] = '';