Skip to content

Commit

Permalink
force set nsprefix
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed Jan 10, 2018
1 parent bc6d4cd commit d7a543e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/saml2/client.py
Expand Up @@ -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,
Expand Down

0 comments on commit d7a543e

Please sign in to comment.