Problem implementing CDA on manager
Hello, i'm trying to configure cda authentication on the manager, but i have problems adapting the test template to its case.
The point is i have to restrict the sso cookie to the portal domain :
auth.domain.test => portal
manager.domain.test => manager
application.domain.test => unrelated application, externally hosted (so i don't want to send my precious cookie)
I tried adding the following section to manager-nginx.conf
location = /lmauth {
... //as provided in test-nginx.conf
}
and, in the "location /" section :
auth_request /lmauth;
auth_request_set $lmremote_user $upstream_http_lm_remote_user;
auth_request_set $lmlocation $upstream_http_location;
# If CDA is used, uncomment this
auth_request_set $cookie_value $upstream_http_set_cookie;
add_header Set-Cookie $cookie_value;
# Remove this for AuthBasic handler
error_page 401 $lmlocation;
but i'm only getting error
[error] 7192#0: *53 FastCGI sent in stderr: "Can't locate object method "run" via package "Lemonldap::NG::Handler::PSGI::CDA" at /usr/share/perl5/vendor_perl/Lemonldap/NG/Handler/Lib/PSGI.pm line 130" while reading response header from upstream, client: 10.100.1.4, server: manager.domain.test, request: "GET /manager.html HTTP/2.0", upstream: "fastcgi://unix:/run/llng-fastcgi-server/llng-fastcgi.sock:", host: "manager.domain.test", referrer: "https://auth.domain.test/"
I'm using latest stable (2.0 series) with nginx.