Skip to content
Snippets Groups Projects
Commit 6afd2fb9 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Re-add SITE_URL settings

parent 59af2d70
No related branches found
No related tags found
No related merge requests found
Pipeline #2799 passed
...@@ -184,3 +184,10 @@ if os.getenv("USE_LDAP_AUTH"): ...@@ -184,3 +184,10 @@ if os.getenv("USE_LDAP_AUTH"):
AUTH_LDAP_ALWAYS_UPDATE_USER = True AUTH_LDAP_ALWAYS_UPDATE_USER = True
AUTH_LDAP_FIND_GROUP_PERMS = True AUTH_LDAP_FIND_GROUP_PERMS = True
AUTH_LDAP_MIRROR_GROUPS = True AUTH_LDAP_MIRROR_GROUPS = True
# SITE_URL is used by django-oidc-provider and openid-configuration will break not set correctly
PORT = os.getenv("STEERING_PORT")
AURA_PROTO = os.getenv("AURA_PROTO", default="http")
AURA_HOST = os.getenv("AURA_HOST", default="localhost")
SITE_URL = f"{AURA_PROTO}://{AURA_HOST}:{PORT}" if PORT else f"{AURA_PROTO}://{AURA_HOST}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment