I am new to auth0 and I am going crazy trying utilize custom action scripts to connect to my existing sql database.
I currently have a sqlserver db hosted on Google Cloud Platform and below is my custom connection in the login action script but when i click test I keep getting the error below. Any help would be greatly appreciated!!!
const connection = new Connection({
userName: ‘usernamegoeshere’,
password: ‘passwordgoeshere’,
server: ‘34.121.229.78’,
options: {
database: ‘stutor-291218:us-central1:stutor-sql-db’
}
});
error: “Failed to connect to 34.121.229.78:1433 in 15000ms”