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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-12-17 14:50:32 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-17 16:20:14 +0300
commit3b4abd550b071d64b06be8126bd4d2b9cc2395e9 (patch)
treec34a73e4e415b29d1f5c9854e580c0fc8ccd739e /core
parenta730ad16f19e0778f82fce05c1fb3920777d93b5 (diff)
Fix SAML Client login flow on Apple devices
Because the redirect from the SAML/SSO endpoint is a POST the lax/strict cookies are not properly send. Note that it is not strictly requried on this endpoint as we do not need the remember me data. Only the real session info is enough. The endpoint is also already protected by a state token. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core')
-rw-r--r--core/Controller/ClientFlowLoginController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index 3bd396a0b97..3050248f4ec 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -207,6 +207,7 @@ class ClientFlowLoginController extends Controller {
/**
* @NoAdminRequired
* @NoCSRFRequired
+ * @NoSameSiteCookieRequired
* @UseSession
*
* @param string $stateToken