log IDP parameters in debug mode

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Björn Schiessle 2018-11-16 16:46:31 +01:00
parent 544ca1346f
commit 69c0c5f479
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6

View file

@ -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)) {