I just trying to use SAML as SSO from an app, and configure a client using the mappers “Role” and turn on the field “Single Role Attribute” that means i can just attach two or more roles to an user and when user login on app the attribute statement must following the example bellow:
<saml:Attribute Name=“Role”
NameFormat=“urn:oasis:names:tc:SAML:2.0:attrname-format:basic”
>
<saml:AttributeValue xmlns:xs=“defaultlink”
xmlns:xsi=“defaultlink”
xsi:type=“xs:string”
>role1, role2</saml:AttributeValue>
But it presents aways two separated value like this:
<saml:Attribute Name=“Role”
NameFormat=“urn:oasis:names:tc:SAML:2.0:attrname-format:basic”
>
<saml:AttributeValue xmlns:xs=“defaultlink”
xmlns:xsi=“defaultlink”
xsi:type=“xs:string”
>role1</saml:AttributeValue>
<saml:Attribute Name=“Role”
NameFormat=“urn:oasis:names:tc:SAML:2.0:attrname-format:basic”
>
<saml:AttributeValue xmlns:xs=“defaultlink”
xmlns:xsi=“defaultlink”
xsi:type=“xs:string”
>role2</saml:AttributeValue>
Someone knows how fix or made this working as expected?
This is how i configure my role mapper.

Thanks in advance