Reputation: 1
I have sso configured for my application with keycloak and I wish to do single logout.
When I call my endpoint for single logout /slo
, I got this from the response:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
</head>
<body onload="document.forms[0].submit()">
<noscript>
<p>
<strong>Note:</strong>
Since your browser does not support JavaScript,
you must press the Continue button once to proceed.
</p>
</noscript>
<form action="http://localhost:8080/realms/master/protocol/saml" method="post">
<div>
<input type="hidden" name="RelayState" value="https%3A%2F%2Fhostname%2Flogout"/>
<input type="hidden" name="SAMLRequest" value="some_value"/>
</div>
<noscript>
<div>
<input type="submit" value="Continue"/>
</div>
</noscript>
</form>
</body>
</html>
Can someone help me so that my application will properly redirect this request to keycloak? I am using SAML Pac4j for my application.
I have tried manually setting Logout Service POST Binding URL in keycloak UI to what I got from sp_metadata and also added Valid post logout redirect URIs to my application URI. I have added relay state to logout endpoint of my application /logout
Upvotes: 0
Views: 93