This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 4_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/4_1_X by this push:
new 7e2c9afbd5 Set a no-op WriteCallback for successful OIDC back-channel
logout (#1466)
7e2c9afbd5 is described below
commit 7e2c9afbd54e0acd89af47d0d481a37f948223ce
Author: Lorenzo Di Cola <[email protected]>
AuthorDate: Tue Jul 21 15:20:02 2026 +0200
Set a no-op WriteCallback for successful OIDC back-channel logout (#1466)
---
.../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);