[keycloak-user] Enable CORS

Bill Burke bburke at redhat.com
Tue Nov 10 10:38:13 EST 2015


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-access-grants.html


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

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list