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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user