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:
authorBjoern Schiessle <bjoern@schiessle.org>2018-11-16 18:46:31 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-11-16 18:46:31 +0300
commit69c0c5f479a0097483b903c5cd653c4a4ed65d60 (patch)
treecd7bd483d376c12a4e858db2b4cac9a14522ab84 /lib/Controller
parent544ca1346f09e655ce9afc78662dae81cc1ccdf3 (diff)
log IDP parameters in debug mode
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SAMLController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php
index 6806c4f1..983fb3ec 100644
--- a/lib/Controller/SAMLController.php
+++ b/lib/Controller/SAMLController.php
@@ -250,6 +250,8 @@ class SAMLController extends Controller {
$auth = new Auth($this->SAMLSettings->getOneLoginSettingsArray($idp));
$auth->processResponse($AuthNRequestID);
+ $this->logger->debug('Attributes send by the IDP: ' . json_encode($auth->getAttributes()));
+
$errors = $auth->getErrors();
if (!empty($errors)) {