Skip to content

Commit dd73242

Browse files
author
Hans Hörberg
committed
Merge remote-tracking branch 'upstream/master'
2 parents f7ea25c + f341940 commit dd73242

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/saml2/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ def prepare_for_authenticate(self, entityid=None, relay_state="",
8181

8282
req = self.create_authn_request(destination, vorg, scoping,
8383
response_binding, nameid_format,
84-
consent, extensions, sign, **kwargs)
84+
consent=consent, extensions=extensions,
85+
sign=sign, **kwargs)
8586
_req_str = "%s" % req
8687

8788
logger.info("AuthNReq: %s" % _req_str)

src/saml2/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def _message(self, request_cls, destination=None, message_id=0,
382382
req.destination = destination
383383

384384
if consent:
385-
req.consent = consent
385+
req.consent = "true"
386386

387387
if extensions:
388388
req.extensions = extensions

0 commit comments

Comments
 (0)