Idira Identity: How to change SAML Attribute NameFormat?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Workforce Identity Articles
1 min read
L4 Transporter
No ratings

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"?

Steps

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);

ka32J000000LR6SQAW__eid=ka32J000000LR6S&feoid=00N2J000009R3kv&refid=0EM2J000002xt8Z.png
ka32J000000LR6SQAW__eid=ka32J000000LR6S&feoid=00N2J000009R3kv&refid=0EM2J000002xt8U.png

 
 
Rate this article: