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