<div dir="ltr"><p class="MsoNormal">I used a different e-mail and my previous post did not get through.</p><p class="MsoNormal"><br></p><p class="MsoNormal">Ok, that makes sense. I am still trying to figure out how
k_logout should work on my end.&nbsp; I do have the keycloak modules installed
on the server running my app.&nbsp; However, I still get a value of false in
logoutApplication:</p>

<p class="MsoNormal">&nbsp;</p>

<p class="MsoNormal"><span style="font-size:10pt;font-family:Consolas;color:black">Response response =
client.target(managementUrl).path(AdapterConstants.</span><i><span style="font-size:10pt;font-family:Consolas;color:rgb(0,0,192)">K_LOGOUT</span></i><span style="font-size:10pt;font-family:Consolas;color:black">).request().post(Entity.<i>text</i>(token));</span><span style="font-size:10pt;font-family:Consolas"></span></p>


<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Consolas;color:rgb(127,0,85)">boolean</span></b><span style="font-size:10pt;font-family:Consolas;color:black"> success = response.getStatus() == 204;</span></p>


<p class="MsoNormal"><span style="font-size:10pt;font-family:Consolas;color:black">&nbsp;</span></p>

<p class="MsoNormal">The success Boolean is false.&nbsp; I set the Admin url to
some path with &ldquo;admin&rdquo; but I do not have a REST service at any location for
&hellip;/admin/&hellip;/k_logout.&nbsp; Am I supposed to do something on my end or should the
keycloak modules have automatically set something up that understands how to
handle a request to something like &hellip;/admin/&hellip;/k_logout?&nbsp; </p>

<p class="MsoNormal">&nbsp;</p>

<p class="MsoNormal">I just would have liked to make all of this a bit
easier.&nbsp; Why can&rsquo;t I create some REST service on my end that calls
something like: KeycloakSecurityContext.logout(); Under the covers
KeycloakSecurityContext.logout() builds the logout uri, sends the request to
the keycloak server and finally logs me out of the local application? &nbsp;&nbsp;</p></div>