italia / spid-cie-oidc-django

The SPID/CIE OIDC Federation SDK, written in Python
Apache License 2.0
27 stars 28 forks source link

[Bug] Wrong metadata policy "add" clause value #177

Closed danielegiallonardo closed 2 years ago

danielegiallonardo commented 2 years ago

In the metadata policy of the entity statement returned by the Trust Anchor for the OP, there is an "add" clause for the "contacts" field that has the following value: {"add": [ "$.contacts"]} It should contains a valid array of existing email addresses.

peppelinux commented 2 years ago

thank you @danielegiallonardo

it was caused by legacy annotations in the code, I made a clean up here: https://github.com/italia/spid-cie-oidc-django/commit/1062cf1ab3d35f08a0f4dfdd8ec1c92dea55a3c2