
5cjpl (5cjpl) asked a question.
I have created a custom attribute with "String Array" as data type and setting this attribute on Attribute statement to pass to SAML assertion.
But the output format in SAML assertion is coming as test1,test2 not in separate line like below:
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>test1</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>test2</saml2:AttributeValue>
Can someone help me in achieving this.

We are using the function in OIN application mapping for user provisioning. Haven't tried to use the function in the SAML attribute page. Another way to accomplish the desired result in case SAML app don't support the function in attribute is to create an Okta attribute and use function flatten the string array and use this new attribute in the SAML app attribute page but I'm not sure if in your org accounts are mastered by AD or Okta.