The link that you provided should be going to this link in the docs which should help.
if your JWT authentication token is passing in coupon codes for a user that looks like this, I imagine the JWT data would look like this:
{
"aud": "myapp-abcde",
"exp": 1516239022,
"sub": "24601",
"user_data": {
"name": "John Doe",
"coupons": [
"123",
"456",
]
}
}
You would define your fields like this:
Path Field // Name
user_data.name
// name
user_data.coupons
// coupons
and your user object would have coupon data in the following form:
{
"id": "59fdd02846244cdse5369ebf",
"type": "normal",
"data": {
"name": "John Doe",
"coupons": [
"123",
"456"
]
},
identities: [
{
"id": "24601",
"provider_type": "custom-token",
"data": {
"name": "John Doe",
"coupons": [
"123",
"456"
]
},
}
]
}