Setting multiple audiences through an Audience client mapper

Hi everyone,

Is it possible to set an array of audiences using the default audience protocol mapper? I have tried but it seems to interpret the array as a string.

If this is not possible, can multiple audiences be configured simultaneously using only one js mapper? When I attempt this using a js mapper, I get the following in the token: “aud”: “["test1","test2"]”, the array is not interpreted, too. However, this works for any other claims.

Thanks in advance

1 Like

I’ve answered on Slack. Here is the reply: