From c0deed8155b029967f96f3b5dc13bd5d18145616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Tr=C3=B6ger?= Date: Mon, 28 Aug 2017 13:31:35 +0200 Subject: [PATCH] fixed login with chrome browser - fix 'environment-variable' login problem with chrome browser - problem: using nextcloud behind apache2 mod_auth_mellon, chrome browser gets too many redirects - description: nc_sameSiteCookiestrict is not sent by chrome, because of the origin POST request by idp and the 3xx redirects on nextcloud side --- lib/Controller/SAMLController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php index e289840..22cbcab 100644 --- a/lib/Controller/SAMLController.php +++ b/lib/Controller/SAMLController.php @@ -161,6 +161,7 @@ class SAMLController extends Controller { * @PublicPage * @UseSession * @OnlyUnauthenticatedUsers + * @NoCSRFRequired * * @param int $idp id of the idp * @return Http\RedirectResponse