Skip to content

Commit

Permalink
Fix NPE in backchannel logout
Browse files Browse the repository at this point in the history
fix #108
  • Loading branch information
lme-atolcd authored and jacekkow committed Jun 21, 2024
1 parent 0b18af3 commit b92028d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ public Response backchannelLogout(UserSessionModel userSession, AuthenticatedCli
sendSingleLogoutRequest(logoutUrl, serviceTicket);
}
ClientModel client = clientSession.getClient();
new ResourceAdminManager(session).logoutClientSession(realm, client, clientSession).close();
return Response.ok().build();
return new ResourceAdminManager(session).logoutClientSession(realm, client, clientSession);
}

private void sendSingleLogoutRequest(String logoutUrl, String serviceTicket) {
Expand Down

0 comments on commit b92028d

Please sign in to comment.