You are not going to be able to access the login page from an ajax call.
That's just not the way you're supposed to do non-browser login.
http://keycloak.github.io/docs/userguide/keycloak-server/html/direct-acce...
On 11/10/2015 4:01 AM, Revanth Ayalasomayajula 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
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com