RESTProxy doesn't fully work as a UserDB module
The REST Proxy module is advertised in documentation as supporting UserDB functionnality, but doesn't seem to work that way.
In order to reproduce, setup a LemonLDAP::NG instance to proxy authentication to another server, then try either:
- An auto-signin rule
- A password reset
In both cases, the following appears in logs
On the proxy LLNG server:
LLNG: Processing getUser LLNG: Proxy push auth to http://auth.example-backend.com/ LLNG: Unable to query authentication service: 401 Unauthorized
On the backend LLNG server:
LLNG: Returned error: 2 (PE_FORMEMPTY)
because the backend receives an empty 'password' field
Maybe implement a proper userinfo REST endpoint?