
boh22 (boh22) asked a question.
- <saml2:Attribute Name="GroupID" 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" >Group3</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" >Group1</saml2:AttributeValue> </saml2:Attribute>
Appreciate the help! Eric
- String.join(",", isMemberOfGroupName("Group1") ? 'Group1' : '', isMemberOfGroupName("Group2") ? 'Group2' : '', isMemberOfGroupName("Group3") ? 'Group' : '')
It ended up passing Group1,,Group3 but the service provider accepted the blank for not being in group 2 (example). Here's the post that gave me the resolution: https://support.okta.com/help/answers?id=9062A000000bm4LQAQHi Eric,
Can you tell us where did you added the above string ?
i.e Profile Editor or SAML Wizard ?
You need to add the expression language code in Attribute statements.