mySessionAuthorizedRWKeys causes internal server error when removing OIDC consent
Concerned version
Version: %2.0.11
Summary
- Store conf in RDBI or MongoDB (possibly LDAP)
- Try to remove OIDC consent
Logs
FastCGI sent in stderr: "Can't use string ("["_appsListOrder","_oidcConnecte"...) as an ARRAY ref while "strict refs" in use at /usr/share/perl5/Lemonldap/NG/Portal/Plugins/RESTServer.pm line 482" while reading response header from upstream
Backends used
- Fails with RDBI
- Fails with MongoDB
- Works with File
- Works with CDBI
Possible fixes
This is caused by the call to Serializer::unserialize. mySessionAuthorizedRWKeys is not handled, and thus, after being stored as a string (by serialize), it is not restored to an arrayref.
We need to handle array-type variables in Builder.pm/Serializer.pm