[keycloak-user] passing tokens to a servlet with cors
mposolda at redhat.com
Wed Jun 24 03:41:17 EDT 2015
You may need to configure web origins in the configuration of your
application is running on "http://myserver.org:8080/myapp" you need to
add origin like "http://myserver.org:8080" . See docs for the details:
On 19.6.2015 20:31, Juan Diego wrote:
> I have an upload servlet
> https://gist.github.com/jdc18/c6c8689e269e655581cb, 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.
> My backend is similar to the database service example.
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the keycloak-user