diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm index 600e31a08db07800baf38519b405458861ef921e..2f7b97252172afb9ee0cdfd0ac72053f78da8386 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm @@ -2187,12 +2187,12 @@ sub logout { if ( $rpConf->{oidcRPMetaDataOptionsLogoutType} eq 'front' ) { if ( $rpConf->{oidcRPMetaDataOptionsLogoutSessionRequired} ) { - my $user_id = $self->getUserIDForRP( $req, $rp, - $req->{sessionInfo} ); $url .= ( $url =~ /\?/ ? '&' : '?' ) . build_urlencoded( iss => $self->iss, - sid => $user_id + sid => $self->getSidFromSession( + $rp, $req->{sessionInfo} + ) ); } $req->info( qq'