Skip to content

Commit 5a9623d

Browse files
committed
check for token
1 parent 378abf4 commit 5a9623d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

www/idp/index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@
7474
}
7575

7676
if (!isset($getVars["redirect_uri"])) {
77-
$getVars['redirect_uri'] = $token->claims()->get("redirect_uri");
77+
if (isset($token)) {
78+
$getVars['redirect_uri'] = $token->claims()->get("redirect_uri");
79+
}
7880
}
7981
}
8082

0 commit comments

Comments
 (0)