Skip to content

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

1 participant