Skip to content

Commit 3916e4b

Browse files
author
Samuel Campos
committed
Check the correct setting before signing Logout responses
1 parent 0c8970f commit 3916e4b

File tree

1 file changed

+1
-1
lines changed
  • toolkit/src/main/java/com/onelogin/saml2

1 file changed

+1
-1
lines changed

toolkit/src/main/java/com/onelogin/saml2/Auth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ public void processSLO(Boolean keepLocalSession, String requestId) throws Except
626626
parameters.put("RelayState", relayState);
627627
}
628628

629-
if (settings.getLogoutRequestSigned()) {
629+
if (settings.getLogoutResponseSigned()) {
630630
String sigAlg = settings.getSignatureAlgorithm();
631631
String signature = this.buildResponseSignature(samlLogoutResponse, relayState, sigAlg);
632632

0 commit comments

Comments
 (0)