diff --git a/steering/settings.py b/steering/settings.py
index ceb39a3902ac7f5801d0bdd94eb5d2e9c1e8deb5..2e9cbe36167169889b14894dc98d1aa29aa5c3e7 100644
--- a/steering/settings.py
+++ b/steering/settings.py
@@ -180,6 +180,20 @@ CBA_REST_API_URL = CBA_URL + "/wp-json/wp/v2/"
 USE_TZ = True  # django-oidc-provider needs timezones in database
 LOGIN_URL = "/admin/login/"  # Login page OIDC redirects to
 OIDC_EXTRA_SCOPE_CLAIMS = "steering.oidc_provider_settings.AuraScopeClaims"
-SITE_URL = env.str("AURA_PROTO", default="http") + "://" + env.str("AURA_HOST", default="localhost")
+
+if os.environ.get("STEERING_PORT"):
+    SITE_URL = (
+        env.str("AURA_PROTO", default="http")
+        + "://"
+        + env.str("AURA_HOST", default="localhost")
+        + ":"
+        + env.str("STEERING_PORT")
+    )
+else:
+    SITE_URL = (
+        env.str("AURA_PROTO", default="http")
+        + "://"
+        + env.str("AURA_HOST", default="localhost")
+    )
 
 # WSGI_APPLICATION = 'steering.wsgi.application';