diff --git a/konova/sub_settings/sso_settings.py b/konova/sub_settings/sso_settings.py index ce426017..75e78314 100644 --- a/konova/sub_settings/sso_settings.py +++ b/konova/sub_settings/sso_settings.py @@ -7,7 +7,9 @@ Created on: 31.01.22 """ # SSO settings -SSO_SERVER_BASE = "http://127.0.0.1:8000/" +import os + +SSO_SERVER_BASE = f"http://{os.environ.get('SSO_HOST')}/" SSO_SERVER = f"{SSO_SERVER_BASE}sso/" SSO_PRIVATE_KEY = "CHANGE_ME" -SSO_PUBLIC_KEY = "CHANGE_ME" \ No newline at end of file +SSO_PUBLIC_KEY = "CHANGE_ME"