SAML Attribute Mapping

When creating an attribute mapping.json file for mapping custom claims with SAML SSO, is there a way to configure attributes that could have multiple values?

For example, how would one map the following XML to a metadata.json file to show up in the supabase custom_claims as "items": ["Item1","Item2"]?

<Attribute Name="items">
<AttributeValue>Item1</AttributeValue>
<AttributeValue>Item2</AttributeValue>
</Attribute>

The Supabase documentation only provides a simple example of mapping email and name. Is it possible to map an array of values to an attribute for custom claims?
Was this page helpful?