diff options
Diffstat (limited to 'coip/apps/saml2')
-rw-r--r-- | coip/apps/saml2/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coip/apps/saml2/views.py b/coip/apps/saml2/views.py index ee62061..919a20c 100644 --- a/coip/apps/saml2/views.py +++ b/coip/apps/saml2/views.py @@ -78,7 +78,8 @@ def metadata(request): @csrf_exempt def aq(request): if request.method == 'POST': - aa = server.Server(config=_config(request), log=logging, debug=1, stype="aa") + cnf = config.Config().load(_config(request)) + aa = server.Server(config=cnf, log=logging, debug=1, stype="aa") request_xml = soap.parse_soap_enveloped_saml_attribute_query(request.raw_post_data) logging.debug(request_xml) (subject, attribute, aq) = aa.parse_attribute_query(request_xml,False) |