I have a SQL question with a parameter that can have a list of values (multi-select widget in the UI).
I would like to embed this question in a application, and got it working as long as I send only one value for the parameter. But how do I format the params claim of the JWT to send multiple values for a single parameter?
The example apps all have a single parameter with a single value. In Metabase, when configuring the embedding of the question, I cannot select multiple values for the parameter so I am not able to get the example code to show me how to do it.
In other words, what would be the params claim of a JWT for a question with that kind of URL:
https://www.example.com/question/42?p=1&p=2
I’ve tried to associate a list to the parameter name (a Java list, which I imagine is converted into a json array), but didn’t work.
Thanks!
Romain