Just to add further information:
I have checked that the SSO_URL value that I want to configure per environment in saved in the postgres DB.
I wonder if i need to run some postgres script when the application is built/deployed to update the URL value to what I want it?