Libjwt provides jwt_valid_add_grant_bool to add boolean grants. Unfortunately, lighttpd configuration syntax doesn't provide an unambiguous way to parse a boolean.
The current workaround to this is to just use integers as booleans (like the lighttpd configuration syntax suggests), or to use JSON claims (#5).
I don't see a way around this aside from refactoring the claims configuration into claims-<integer|string|boolean>.
Libjwt provides
jwt_valid_add_grant_bool
to add boolean grants. Unfortunately, lighttpd configuration syntax doesn't provide an unambiguous way to parse a boolean.The current workaround to this is to just use integers as booleans (like the lighttpd configuration syntax suggests), or to use JSON claims (#5).
I don't see a way around this aside from refactoring the
claims
configuration intoclaims-<integer|string|boolean>
.