diff --git a/.env.example b/.env.example index e753e2b..2c8aace 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,8 @@ SECRET_KEY='$omeR@nd0mSecr3tKeyWith4V3ryL0ng$tring!?' DEBUG=True ALLOWED_HOSTS=.localhost,127.0.0.1 -API_BASE_URL = 'https://api.examplea.org/' +API_BASE_URL = 'http://localhost:9080/api/' +STATIC_ROOT = 'musician/static/' +CLIENT_ID = "ZjYHcERGfUKo26y41VLI4KHz" +CLIENT_SECRET = "jjUfJq9vOomJaj8Zm5W6OweMG61wQ5G3VyKhBzxLqp5k5HVW" +OIDC_PROVIDER = "http://localhost:5000" diff --git a/userpanel/settings.py b/userpanel/settings.py index 08121c2..09d043a 100644 --- a/userpanel/settings.py +++ b/userpanel/settings.py @@ -175,6 +175,11 @@ URL_SAAS_OWNCLOUD = config('URL_SAAS_OWNCLOUD', None) URL_SAAS_WORDPRESS = config('URL_SAAS_WORDPRESS', None) +CLIENT_ID = config('CLIENT_ID') + +CLIENT_SECRET = config('CLIENT_SECRET') + +OIDC_PROVIDER = config('OIDC_PROVIDER') # Managers: who should get notifications about services changes that # may require human actions (e.g. deleted mailboxes)