From cc26174a482980bd4dc04e2f2ed2cc66d91f0a3e Mon Sep 17 00:00:00 2001 From: Attila DEBRECZENI <19527748+Atisom@users.noreply.github.com> Date: Fri, 27 Mar 2020 02:19:06 +0100 Subject: [PATCH] wantAssertionsEncrypted to false --- powerdnsadmin/services/saml.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/powerdnsadmin/services/saml.py b/powerdnsadmin/services/saml.py index b108a71..2b7ae4f 100644 --- a/powerdnsadmin/services/saml.py +++ b/powerdnsadmin/services/saml.py @@ -161,8 +161,7 @@ class SAML(object): settings['security']['requestedAuthnContext'] = True settings['security'][ 'signatureAlgorithm'] = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256' - settings['security']['wantAssertionsEncrypted'] = current_app.config[ - 'SAML_ASSERTION_ENCRYPTED'] + settings['security']['wantAssertionsEncrypted'] = False settings['security']['wantAttributeStatement'] = True settings['security']['wantNameId'] = True settings['security']['authnRequestsSigned'] = current_app.config[