From d7a543e746605b651f64bb448b3fa82fb574f514 Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Wed, 10 Jan 2018 15:16:13 +0800 Subject: [PATCH] force set nsprefix --- src/saml2/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/saml2/client.py b/src/saml2/client.py index 14fa65f2a..35ca11478 100644 --- a/src/saml2/client.py +++ b/src/saml2/client.py @@ -61,6 +61,8 @@ def prepare_for_authenticate( :return: session id and AuthnRequest info """ + kwargs["nsprefix"] = {'saml': 'urn:oasis:names:tc:SAML:2.0:assertion', + 'samlp': 'urn:oasis:names:tc:SAML:2.0:protocol'} reqid, negotiated_binding, info = \ self.prepare_for_negotiated_authenticate( entityid=entityid,