maykinmedia / django-digid-eherkenning

Django library to use DigiD or eHerkenning to authenticate users
MIT License
2 stars 0 forks source link

Dienstcatalogus generation breaks if requested attributes are not provided as a list of dicts #54

Open sergei-maertens opened 8 months ago

sergei-maertens commented 8 months ago

https://github.com/maykinmedia/django-digid-eherkenning/blob/04c9e4e90bd02393bf2bde768c1edc98bbd12122/digid_eherkenning/saml2/eherkenning.py#L225

The XSD validation crashes when processing requested attributes as just a list of strings instead of an object with the keys name & required.

Note that changing the data structure in the admin seems to break metadata generation.