Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WantAuthnRequestsSigned parser. #338

Merged
merged 1 commit into from
Dec 26, 2022

Conversation

pitbulk
Copy link
Contributor

@pitbulk pitbulk commented Dec 25, 2022

It fixes #306

@pitbulk pitbulk force-pushed the master branch 2 times, most recently from 4fa3934 to acef8eb Compare December 26, 2022 01:53
@pitbulk pitbulk changed the base branch from master to add_poetry December 26, 2022 02:41
@pitbulk pitbulk changed the base branch from add_poetry to master December 26, 2022 02:41
@pitbulk pitbulk merged commit d3f2c06 into master Dec 26, 2022
want_authn_requests_signed = entity_descriptor_node.get('WantAuthnRequestsSigned', None)
want_authn_requests_signed = idp_descriptor_node.get('WantAuthnRequestsSigned', None)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this causes a regression, because idp_descriptor_node.get('WantAuthnRequestsSigned', None) returns the string 'false' for my config (and probably others as well) which gets later evaluated to True in

authn_sign = bool(security.get('authnRequestsSigned'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WantAuthnRequestsSigned is read from EntityDescriptor instead of IDPSSODescriptor
2 participants