<div dir="ltr">We don&#39;t directly support loading as an iframe, but you can achieve it by following the hints in that mailing list. You basically need to setup the required HTTP headers to permit loading it as an iframe from another domain.</div><div class="gmail_extra"><br><div class="gmail_quote">On 10 November 2015 at 12:03, Revanth Ayalasomayajula <span dir="ltr">&lt;<a href="mailto:revanth@arvindinternet.com" target="_blank">revanth@arvindinternet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi, is there anyway for an application to request the login page and get it shown in as modal or as an iframe.<br><br></div>I want to achieve the same thing as in the below link but i couldn&#39;t understand as to what has to done, from this below thread.<br><br><a href="http://lists.jboss.org/pipermail/keycloak-user/2015-February/001665.html" target="_blank">http://lists.jboss.org/pipermail/keycloak-user/2015-February/001665.html</a><br><br></div>Thanks.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 4:12 PM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The login page doesn&#39;t support cors request. You should redirect the users to this page, that&#39;s the only way it will actually work.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 10 November 2015 at 10:01, Revanth Ayalasomayajula <span dir="ltr">&lt;<a href="mailto:revanth@arvindinternet.com" target="_blank">revanth@arvindinternet.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi,<br><br></div>I am using keycloak1.5.0 to secure a few of my applications and i want to request the keycloak&#39;s Login page from an ajax call. It is currently giving me a CORS error. So i wanted to know how do i enable CORS support or add my URL to allowed set??<br><br></div>Thanks.<br></div>
<br></div></div><span>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>