How to configure the SSO Authorization URL via config (without using the admin panel)

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?