Idira Identity: How to change SAML Attribute NameFormat?
85
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:59 PM
Objective
By default SAML attribute NameFormat is with "urn:oasis:names:tc:SAML:2.0:attrname-format:basic"
How can I change it to other NameFormat like "urn:oasis:names:tc:SAML:2.0:attrname-format:uri"?
Procedure
SAML Attribute NameFormat can be changed using the function setAttributeWithNameFormat();
This is the format of using this function:
setAttributeWithNameFormat("Name of the attribute","Name Format","Value of the attribute")
For clarity here is an example of using this whit LoginUser values:
setAttributeWithNameFormat("Email","urn:oasis:names:tc:SAML:2.0:attrname-format:uri",LoginUser.Email);