Pain point · Permissions & security · Blocks work
Custom JWT claims reject array values
1 source thread · first seen 2019-03
Summary
Using an array in a custom x-hasura claim, for example multiple user groups, fails with an invalid claims error, though it would simplify permission rules.
- Affects
- teams modeling user groups in JWTs
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“But it chokes when we try to use an array”