<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 30 May 2016 at 09:04, Jannik Hüls <span dir="ltr"><<a href="mailto:jannik.huels@googlemail.com" target="_blank">jannik.huels@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi guys,<div><br></div><div>I am using keycloak together with mod_auth_openidc and ran into some trouble. I want to use the login-status-iframe endpoint but it seems to be not working (at least for my configuration).</div><div>The aim is to use a federated logout: </div><div><br></div><div>1. Login via an app protected by mod_auth_openidc</div><div>2. Open keycloak admin</div><div>3. Destroy the session</div><div>4. Refresh the app —> User is still logged in. </div><div><br></div><div>So mod_auth_openidc supports the OpenID Connect Session Management via iframe and as I saw in keycloaks code a iframe endpoint is available. So:</div><div><br></div><div>- Is the OpenID Connect session management via iframe already working in keycloak? I was wondering that the endpoint is not mentioned in the openID connect well-known configuration.</div></div></blockquote><div><br></div><div>I don't think there's a standard way to mention this endpoint in .well-known. Would make sense though.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>- What is the correct origin value that should be presented when calling the iframe endpoint?</div><div><br></div><div>I call:</div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(255,255,255)"><keycloak url>/protocol/openid-connect/login-status-iframe.html?client_id=<client>&origin=<origin></span></div><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px;background-color:rgb(255,255,255)"><br></span></div><div><font color="#333333"><span style="background-color:rgb(255,255,255)">- Is there any documentation available regarding the iframe endpoint? I suggested that I have to include the above link into the iframe src attribute? Is this correct?</span></font></div></div></blockquote><div><br></div><div>Afraid there's no docs for this endpoint at the moment and it's currently only used by our JavaScript adapter. You can look at how our JavaScript adapter includes this. Basically you need to add an iframe with the above src attribute, but also add a mechanism that sends messages to the embedded iframe to poll the session state.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div><font color="#333333"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><font color="#333333"><span style="background-color:rgb(255,255,255)">Bests</span></font></div><span class="HOEnZb"><font color="#888888"><div><font color="#333333"><span style="background-color:rgb(255,255,255)">Jannik</span></font></div></font></span></div><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div></div>