Skip to content

Commit 07d4730

Browse files
committed
Fix WantAuthnRequestsSigned parser
1 parent e3f5519 commit 07d4730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/onelogin/saml2/idp_metadata_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def parse(
201201

202202
if want_authn_requests_signed is not None:
203203
data['security'] = {}
204-
data['security']['authnRequestsSigned'] = want_authn_requests_signed
204+
data['security']['authnRequestsSigned'] = want_authn_requests_signed == "true"
205205

206206
if idp_name_id_format:
207207
data['sp'] = {}

0 commit comments

Comments
 (0)