Manager API: translate JSON booleans to int
Environment
LemonLDAP::NG version: 2.0.9
Summary
When posting:
{
"options": {
"authnLevel": 5,
"allowOffline": true
}
}
The result in the config is:
'oidcRPMetaDataOptionsAllowOffline' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
This ends up causing warnings, possibly more serious issues when parsing the config
Possible fixes
We should translate incoming booleans