Samly - Support for lists/multiple values in attributes

Hi

I’m receiving assertions containing:

<Assertion...>
    <AttributeStatement>
        ...
        <Attribute Name="http://schemas.microsoft.com/ws/2008/06/identity/claims/role">
            <AttributeValue>ReadOnly</AttributeValue>
            <AttributeValue>Recipient</AttributeValue>
            ...
        </Attribute>
        ...
    </AttributeStatement>
    ...
</Assertion>

My active assertion then looks like:

%Samly.Assertion{
    ....
    attributes: %{
        ...
        "role" => "ReadOnlyRecipient"
        ....
    },
    authn: %{
        ....

Should multiple attribute values currently be supported?

Thanks in advance

Rich

Can you open a github issue? Thanks.

issues

1 Like

Have done, thanks - https://github.com/handnot2/samly/issues/43.