We don'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.
On 10 November 2015 at 12:03, Revanth Ayalasomayajula <
revanth(a)arvindinternet.com> wrote:
Hi, is there anyway for an application to request the login page and
get
it shown in as modal or as an iframe.
I want to achieve the same thing as in the below link but i couldn't
understand as to what has to done, from this below thread.
http://lists.jboss.org/pipermail/keycloak-user/2015-February/001665.html
Thanks.
On Tue, Nov 10, 2015 at 4:12 PM, Stian Thorgersen <sthorger(a)redhat.com>
wrote:
> The login page doesn't support cors request. You should redirect the
> users to this page, that's the only way it will actually work.
>
> On 10 November 2015 at 10:01, Revanth Ayalasomayajula <
> revanth(a)arvindinternet.com> wrote:
>
>> Hi,
>>
>> I am using keycloak1.5.0 to secure a few of my applications and i want
>> to request the keycloak'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??
>>
>> Thanks.
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>