Is it part of the SAML2.0 specification to request which attribute name format you want for the SAML response?
So back from Office365 SAML2.0 I get
<Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress">
<AttributeValue>[email protected]</AttributeValue>
</Attribute>
Clearly the attribute name format seems to be
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
I want the name format to be (basic)
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
So that OFfice365 responds with the ff instead
<Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress">
<AttributeValue>[email protected]</AttributeValue>
</Attribute>
I know i can make these changes to the response on Office365 but i want to know if requesting such a response is a thing in SAML2.0
Yes. you can find the documentation under Section 8.2 Attribute Name Format Identifiers of SAML v2.0 OASIS Standard.