<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I think you need to configure "admin URL" in admin console for
your client corresponding to Java EE 7 frontend application. See
our example demo applications on how it's configured (
customer-portal, product-portal, ...)<br>
<br>
Marek<br>
<br>
On 26/01/16 19:16, Charles Queiroz wrote:<br>
</div>
<blockquote
cite="mid:2A757039-5463-43D0-9416-9D36DA2C8C91@dazen.com.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="">Hi Folks! </div>
<div class=""><br class="">
</div>
<div class="">I have a little problem with logout on keycloak
(version: 1.8.0.RC3). I have a Java EE 7 application +
AngularJS, and a REST API. When I put the URL of logout like: </div>
<div class=""><br class="">
</div>
<div class="">
<pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'Menlo';font-size:9.0pt;" class=""><pre style="font-family: Menlo; font-size: 9pt;" class=""><span style="color:#e8bf6a;" class=""><a </span><span style="color:#bababa;" class="">href=</span><span style="color:#a5c261;" class="">"<a moz-do-not-send="true" href="https://ssoserver.dazen.com.br:8443/auth/realms/dazen/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Flocalhost%3A8443%2Fapp-service" class="">https://ssoserver.dazen.com.br:8443/auth/realms/dazen/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Flocalhost%3A8443%2Fapp-service</a>"</span><span style="color:#e8bf6a;" class="">><span </span><span style="color:#bababa;" class="">translate</span><span style="color:#e8bf6a;" class="">></span>ADMIN.TOOLBAR.LOGOUT<span style="color:#e8bf6a;" class=""></span></a></span></pre></pre>
<div class=""><br class="">
</div>
<div class="">In a <a> html tag, the session is logout on
Keycloak, but the <b class="">JSSESSIONID</b> in cookies
storage is not clean. </div>
<div class=""><br class="">
</div>
<div class="">See: </div>
<div class=""><br class="">
</div>
<div class=""><img apple-inline="yes"
id="D3857FF9-98D4-4951-BD9A-8B8F4C53429F" apple-width="yes"
apple-height="yes"
src="cid:part2.03000902.03020900@redhat.com" class=""
height="246" width="1418"></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">In the keycloak server, the session is destroyed,
but in browser not.</div>
<div class=""><br class="">
</div>
<div class="">How can make this logout correctly ? </div>
<div class=""><br class="">
<div class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows:
auto; word-spacing: 0px; -webkit-text-stroke-width:
0px; word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width:
0px; word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space;"
class="">
<div style="color: rgb(0, 0, 0);
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;"
class="">
<div style="color: rgb(0, 0, 0);
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;"
class="">
<div style="color: rgb(0, 0, 0);
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;
word-wrap: break-word;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;"
class="">
<p class="MsoNormal">Atenciosamente,</p>
<p class="MsoNormal"><b class=""><span
style="font-size: 9pt;
font-family: Arial, sans-serif;
color: rgb(23, 54, 93);" class=""
lang="EN-US">Charles Queiroz </span></b></p>
<div class="MsoNormal"
style="text-align: center;"
align="center"><span style="font-size:
12pt; font-family: 'Times New
Roman', serif; color: rgb(31, 73,
125);" class="" lang="EN-US">
<hr style="color: rgb(102, 102,
102);" class="" align="center"
size="1" noshade="noshade"
width="100%"></span></div>
<p class="MsoNormal"><b class=""><span
style="font-size: 8pt;
font-family: Arial, sans-serif;
color: rgb(109, 110, 113);"
class="" lang="EN-US">Dazen™</span></b><b
class=""><span style="color: rgb(23,
54, 93);" class="" lang="EN-US"><span
class="Apple-converted-space"> </span></span></b><b
class=""><span style="font-size:
8pt; font-family: Arial,
sans-serif; color: rgb(109, 110,
113);" class="" lang="EN-US">IT
Services</span></b><b class=""><span
style="font-size: 8pt;
font-family: Arial, sans-serif;
color: rgb(109, 110, 113);"
class="" lang="EN-US"><br class="">
Technology - Software Development<span
class="Apple-converted-space"> </span><o:p
class=""></o:p></span></b><span
style="font-size: 8pt; font-family:
Arial, sans-serif; color: rgb(109,
110, 113);" class=""><br class="">
<a moz-do-not-send="true"
href="mailto:charles@dazen.com.br"
class=""><span style="color:
rgb(109, 110, 113);
text-decoration: none;" class=""
lang="EN-US">charles@dazen.com.br</span></a></span><span
style="font-size: 8pt; font-family:
Arial, sans-serif; color: rgb(109,
110, 113);" class="" lang="EN-US"><o:p
class=""></o:p><br class="">
Fortaleza - CE</span><span
style="color: rgb(23, 54, 93);"
class="" lang="EN-US"><o:p class=""></o:p></span><span
style="font-size: 8pt; font-family:
Arial, sans-serif; color: rgb(109,
110, 113);" class="" lang="EN-US"><br
class="">
Phone: +55 85 9933 1585 </span></p>
<p class="MsoNormal"><span
style="font-size: 8pt; font-family:
Arial, sans-serif; color: rgb(109,
110, 113);" class="" lang="EN-US">Twitter:
@CharlesQueiiroz</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>