- changed status to open
List of strings as Custom claim will add "backspash" in the list values
Issue #154
invalid
when I add custom claim e.g. { "alg":"HS256", "aud":["a","b"],"test":["a","b"] } it would create a token and when i verify and decode the claims, it adds backsplash in the response. {"aud": [ "a", "b" ], "test": [ "\"a\"", "\"b\"" ]}
Is there any workaround this?
Comments (2)
-
-
- changed status to invalid
Hi,
You're probably setting the custom claim incorrectly. You should pass a
List<String>
argument, not a String that contains JSON.Check out these tests for how to set a list of strings: fedd920029733f4b80b2d87e4d3226a8bd6c7222
- Log in to comment