Hi,
I’m trying to add the Swiss eduPerson attributes [1]
to the Satosa
attribute maps [2] but running into problems when trying to use them.
I’m running Satosa with Docker and have pulled the swiss attributes
into .py files in the attributemaps folder, added them to my
internal_attribute.yaml schema, restarted my container… however they
don’t seem to be recognised.
==========================
The attribute coming from my IdP
==========================
<ns0:Attribute FriendlyName="swissEduPersonHomeOrganization"
Name="urn:oid:2.16.756.1.2.5.1.1.4"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"><ns0:AttributeValue
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xsi:type="xs:string">cern.ch</ns0:AttributeValue></ns0:Attribute>
Note that the <Attribute> element above has
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
The pysaml2 attribute maps usually contain mapping files for both "uri"
and "unspecified" name formats in the attributemaps (configured)
directory, e.g.
$ ls -1 attributemaps/
__init__.py
unspecified.py
uri.py
Are you confident that swissEduPersonHomeOrganization is defined in both
unspecified.py and uri.py?
If so, let me know and I can dig further...
Thanks,
Scott K