Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrieder Schrempf <frieder.schrempf@online.de>2019-06-08 20:13:00 +0300
committerFrieder Schrempf <frieder.schrempf@online.de>2019-06-17 19:56:55 +0300
commit413c7a92390c27100f0abf1641562b27485dea1b (patch)
tree8a5905931e9f665b1df7a64127dd6ade38e7f616 /appinfo
parent3f64725f268e6e6f7ca2c6a74d9fb4897b613386 (diff)
Handle SLO logout requests from IdP via POST
Some IdPs send their SLO logout requests via POST. To handle them we need to add an entry in the routing table. Further, we need to hack around the issue, that php-saml only handles GET by copying the request from $_POST to $_GET. This solves #82. Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 3676ca54..63e5ca96 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -49,6 +49,12 @@ return [
'verb' => 'GET',
],
[
+ 'name' => 'SAML#singleLogoutService',
+ 'url' => '/saml/sls',
+ 'verb' => 'POST',
+ 'postfix' => 'slspost',
+ ],
+ [
'name' => 'SAML#notProvisioned',
'url' => '/saml/notProvisioned',
'verb' => 'GET',