clearing oidcRPMetaDataOptionsLogoutUrl leads to Bad URL error
Environment
LemonLDAP::NG version: 2.0.8
Summary
- Configure a OIDC RP
- Set a logout URL to it
- Clear the logout URL
Configuration cannot be saved: oidcRPMetaDataOptionsLogoutUrl
This is probably a regression caused by #2166 (closed)
Simple (but unsatisfying solution): manually remove oidcRPMetaDataOptionsLogoutUrl with lmConfigEditor or llng-cli.
Logs
oidcRPMetaDataOptionsLogoutUrl: Mauvaise URL
Possible fixes
I'm not sure how to solve it. When saving the configuration in the manager, Parser.pm receives:
"id" : "oidcRPMetaDataNodes/rp-example/oidcRPMetaDataOptionsLogoutUrl",
"get" : "oidcRPMetaDataNodes/rp-example/oidcRPMetaDataOptionsLogoutUrl",
"title" : "oidcRPMetaDataOptionsLogoutUrl",
"data" : ""
In that case, we should clear oidcRPMetaDataOptionsLogoutUrl instead of setting it to the empty value.
Does it always make sense for an empty string to cause the removal of the configuration parameter? Should we only do it for OIDC/SAML/CAS Options ?