This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 4_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/4_0_X by this push:
     new 910af34418 Set a no-op WriteCallback for successful OIDC back-channel 
logout (#1465)
910af34418 is described below

commit 910af344181cf317d6a074532256540c4551645a
Author: Lorenzo Di Cola <[email protected]>
AuthorDate: Tue Jul 21 15:19:44 2026 +0200

    Set a no-op WriteCallback for successful OIDC back-channel logout (#1465)
---
 .../client/ui/commons/resources/oidcc4ui/LogoutResource.java       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/ext/oidcc4ui/client-common-ui/src/main/java/org/apache/syncope/client/ui/commons/resources/oidcc4ui/LogoutResource.java
 
b/ext/oidcc4ui/client-common-ui/src/main/java/org/apache/syncope/client/ui/commons/resources/oidcc4ui/LogoutResource.java
index 784ad769f2..46afbd7052 100644
--- 
a/ext/oidcc4ui/client-common-ui/src/main/java/org/apache/syncope/client/ui/commons/resources/oidcc4ui/LogoutResource.java
+++ 
b/ext/oidcc4ui/client-common-ui/src/main/java/org/apache/syncope/client/ui/commons/resources/oidcc4ui/LogoutResource.java
@@ -61,6 +61,13 @@ public abstract class LogoutResource extends 
AbstractResource {
             service.backChannelLogout(logoutToken, 
request.getRequestURL().toString());
 
             response.setStatusCode(Response.Status.OK.getStatusCode());
+            response.setWriteCallback(new WriteCallback() {
+                
+                @Override
+                public void writeData(final Attributes atrbts) {
+                    // No response body
+                }
+            });
         } catch (Exception e) {
             LOG.error("While requesting back-channel logout for token {}", 
logoutToken, e);
 

Reply via email to