CAS logout redirect service
With cas server, the logout doesn't redirect if a service request parameter is provided.
Clément said : "Looking at CAS protocol, it seems indeed an evolution of CAS 3.0 protocol: https://apereo.github.io/cas/4.2.x/protocol/CAS-Protocol-Specification.html#head2.3.2"
I had this in IssuerDBCAS . It's certainly not perfect but this seems to work. Perhaps it could be integrated in the next versions ?
my $logout_service = $self->param('service');
if ($logout_service) {
$self->lmLog( "Redirect logout user to $logout_service", 'debug' );
$self->{urldc} = $logout_service;
return $self->_subProcess(qw(autoRedirect));
}