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

allow MDQ "entity_transform": "percent_encoded" #959

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prigaux
Copy link

@prigaux prigaux commented Apr 23, 2024

Description

The feature or problem addressed by this PR

MDQ always uses sha1 entityId encoding, but some MDQ server only handle percent-encoding

IdentityPython/SATOSA#460

Then change allows to behave alike Shibboleth SP using mdq.entity_transform to "percent_encoded"

What your changes do and why you chose this solution

NB : the change introduces a mix of types for param entity_transform: it was expecting a function or None. The change adds the possibility to handle string "percent_encoded". I don't enough about the code to know if that's ok...

Cf https://datatracker.ietf.org/doc/draft-young-md-query/

Allows to behave alike Shibboleth SP.
Needed for french https://mdq.federation.renater.fr/ which currently does not handle SHA1 encoding.
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.

1 participant