<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">You may need to configure web origins
in the configuration of your client in Keycloak admin console. For
example if your javascript application is running on
<a class="moz-txt-link-rfc2396E" href="http://myserver.org:8080/myapp">"http://myserver.org:8080/myapp"</a> you need to add origin like
<a class="moz-txt-link-rfc2396E" href="http://myserver.org:8080">"http://myserver.org:8080"</a> . See docs for the details:
<a class="moz-txt-link-freetext" href="http://keycloak.github.io/docs/userguide/html/cors.html">http://keycloak.github.io/docs/userguide/html/cors.html</a><br>
<br>
Marek<br>
<br>
On 19.6.2015 20:31, Juan Diego wrote:<br>
</div>
<blockquote
cite="mid:CAJGEj6c-H-rUg_8YwyUGoxb_-piwcrDhvWA3EjqtVJAuCkmrRg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hi<br>
<br>
</div>
I have an upload servlet <a moz-do-not-send="true"
href="https://gist.github.com/jdc18/c6c8689e269e655581cb">https://gist.github.com/jdc18/c6c8689e269e655581cb</a>,
I tested before without keycloak and it worked. But when I
activate keycloak I get " No 'Access-Control-Allow-Origin'
header is present on the requested resource.", my rest
services do work with CORS. I have my page with angular and
my backend with java.<br>
<br>
</div>
My backend is similar to the database service example.<br>
<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>