Description
I unadvertedly left the issue in the old repository... moving everything here:
I am trying to connect to to an Azure Postgre database (not a virtual machine, the managed one, complete product name: Azure Database for PostgreSQL) and I keep getting this error.
PostgreSQLSeverity.error : Unsupported authentication type 3, closing connection.
I have followed the code to here
and here
As suggested "I don't remember where" as I read too much documentation for this.
Apparently it is related to sending the password in Clear Text. But I get no clues what the heck the server is asking for (neither in microsoft documentation)
The connection had been working perfectly in other development environment (virtual machine in AWS not RDS) but now we have to migrate for staging and deployment and are stuck with it.
Note this environment is in a private cloud. The connection is being launched from a dart server running in kubernetes pod. Both the database and kubernetes are in the same private cluster and can reach each other via internal VLAN.
Any suggestions how to deal with this? Anyone had the same issue and fixed it?