[keycloak-user] CORS for direct grant access

Sadiq Khoja sadiqkhoja at gmail.com
Tue Apr 7 04:24:49 EDT 2015


Guys,

I want to enable CORS for Direct Grant Access, how to do it? I am getting
following error from my javascript application:

(index):1 XMLHttpRequest cannot load
http://localhost:8080/auth/realms/master/tokens/grants/access. No
'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://pn.localhost:81' is therefore not allowed access. The
response had HTTP status code 400.


​
Regards,
*​​Sadiq Khoja*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150407/b10d9545/attachment.html 


More information about the keycloak-user mailing list