
RobertH.33354 (Vizient, Inc.) asked a question.
I am trying to add a custom attribute where the value is the user.firstname<SPACE>user.lastName. I have tried the following string operation String.join(",", user.firstName, " " , user.lastName) ; however, in the SAML assertation preview it shows as:
<saml2:Attribute Name="nexthink.fullname" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<saml2:AttributeValue
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">Robert, ,Hazen
I need the commas eliminated.

Hi @RobertH.33354 (Vizient, Inc.) , Thank you for reaching out to the Okta Community!
The correct Okta Expression Language syntax for that use case would be:
user.firstName + " " + user.lastName
*No String.join or other function needed. You should just be able to copy-paste my example.
Hope my answer helps!
--
Help others in the community by liking or hitting Select as Best if this response helped you.