Hi everyone, I have a special case to add custom JSON in the JWT for the user. These claims are custom and hence this requirement. I have not been able to figure out how to add the “Client -> Mapper” and the “User -> Attributes” to solve this. What I want looks like the following -
{
...
"a": {
"b": [
{
"x1": "foo-x",
"x2": "bar-x"
},
{
"y1": "foo-y",
"y2": "bar-y"
}
]
},
...
}
Is there a way to just set the custom JSON for a claim? The data types in mappers do not include JSON object.
Thank you!