<div dir="ltr">Hello,<div><br></div><div>I am trying to process a SAML attribute with multiple values.</div><div><br></div><div>To that end I have created a client mapper of type User Attribute with "Multivalued" on. </div><div><br></div><div>I also have an "attribute importer" mapper in the SAML v2.0 identity provider. It points to user attribute name defined in the client mapper mentioned above. </div><div><br></div><div>Unfortunately, it is only mapping the first value into the access token.</div><div><br></div><div>The attribute in the SAML response looks like this</div><div><br></div><div><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)"> </span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"><<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">Attribute</span> <span class="inbox-inbox-hljs-attribute" style="box-sizing:border-box;color:rgb(0,128,128)">Name</span>=<span class="inbox-inbox-hljs-value" style="box-sizing:border-box;color:rgb(221,17,68)">"<a href="http://cambio.se/2016-09/cds/profile">http://cambio.se/2016-09/cds/profile</a>"</span>></span><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)">
</span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"><<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">AttributeValue</span>></span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)"><font color="#333333">value1</font></span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"></<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">AttributeValue</span>></span><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)">
</span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"><<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">AttributeValue</span>></span><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)">value2</span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"></<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">AttributeValue</span>></span><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)">
</span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"><<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">AttributeValue</span>></span><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)">value3</span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"></<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">AttributeValue</span>></span><span style="color:rgb(51,51,51);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap;background-color:rgb(248,248,248)">
</span><span class="inbox-inbox-hljs-tag" style="box-sizing:border-box;color:rgb(0,0,128);font-family:menlo,monaco,consolas,"courier new",monospace;font-size:9.1px;white-space:pre-wrap"></<span class="inbox-inbox-hljs-title" style="box-sizing:border-box">Attribute</span>></span> <br></div><div><br></div><div>In the access token only the first value appears as part of "otherClaims" map.</div><div><br></div><div>What do I need to do in order to get all the values in the access token?</div><div><br></div><div>Thanks</div><div><br></div><div>/Manuel</div></div>