pysaml2 icon indicating copy to clipboard operation
pysaml2 copied to clipboard

Ignore SPSSODescriptor.RequestedAttribute from SP metadata?

Open simmel opened this issue 5 months ago • 1 comments

Hey all,

I'm using pysaml2 via SATOSA (and I understand neither really, so my nomenclature here will be mixed and confused) and in my SATOSA frontend config I loaded an SP metadata which has a couple of SPSSODescriptor RequestedAttribute attributes defined.

When the SP metadata has them pysaml2 ignores (well, filters out really) all other attributes except those attributes.

Is it possible to configure pysaml2 to ignore the SPSSODescriptor RequestedAttributes in the metadata file?

Or add to the list? Something similar to sp.required_attributes but for the IDP?

Thank you!

simmel avatar Aug 06 '25 14:08 simmel

Looks like that's a "No, by design"?: https://lists.sunet.se/hyperkitty/list/[email protected]/thread/MQ65GBPJR2BCB545LKPLY5XBIPPHNFO3/ https://lists.sunet.se/hyperkitty/list/[email protected]/thread/YHECXBYKPUMLVSNYHKM5RJU7X6VEHV7O/

simmel avatar Aug 06 '25 15:08 simmel