00ufvw0mxOJZpbKrv351.5548183538928567E12 (Customer) asked a question.
I have enabled Feature Flag "SAML_SUPPORT_ARRAY_ATTRIBUTES" on my profile. I can achieve this if I add a new attribute "String Array" in Profile Editor and added to it all the values I wanted in "ENUM", enabled this on the user profile and added on the application and has listed in the SAML assertion.
But all i get is static value mentioned in "ENUM". Can I use dynamic value derived by okta_expression_language in that ENUM ?
We need to print list of groups name in SAML for a user based on condition (groupname start with "xyz") and then give Nicer name to filtered out group. and it has to be multi value attribute Something like: ((isMemberOfGroupName("SMSLocalAdmins") ? "Admin" : null ) + "," + (isMemberOfGroupName("SMSManager") ? "Manager" : null) + "," + (isMemberOfGroupName("SMSUser") ? "Users&q

Hi Vipul,
I had to pass an multi-value array to an attribute in one of our applications and could not get it figured out.
What worked for us is:
Arrays.flatten(isMemberOfGroupName("SMSLocalAdmins")?"Admins":"",isMemberOfGroupName("SMSManager")?"SMSManager":"",isMemberOfGroupName("SMSUser")?"Users":"")
While I can't say for sure it'll work for your case, as I'm not 100% sure it's the same situation, it seems similar and was something I struggled with for awhile, earlier this year, until I was able to locate the solution with some help from other members.