aboutsummaryrefslogtreecommitdiff
path: root/Psso
diff options
context:
space:
mode:
authorwinter Sparkles2026-08-09 16:17:29 +0100
committerwinter Sparkles2026-08-09 16:17:29 +0100
commitb0d91b0db3576a2dc7b4ebac518724d8063c5de1 (patch)
tree0da44d6f872d720719d00c1f081d2670e36d12cb /Psso
parenta621cd1aca6d44c24e4ab4234e7753acc3fb6613 (diff)
fix auth-request so it works better
Diffstat (limited to 'Psso')
-rw-r--r--Psso/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Psso/Router.php b/Psso/Router.php
index ba0dd53..6ad63cd 100644
--- a/Psso/Router.php
+++ b/Psso/Router.php
@@ -41,7 +41,7 @@ class Router {
function dispatch(string $path) {
// actually check the hostname lol
if ($_SERVER['HTTP_HOST'] != $this->config['site']['primary-domain'] &&
- $path != '/continue') {
+ $path != '/continue' && !str_starts_with($path, '/integration/')) {
header('Location: https://'
. $this->config['site']['primary-domain']);
return;