[keycloak-user] Created my own rest-service - CORS-Problem

Karol Buler K.Buler at adbglobal.com
Wed Jan 31 10:10:11 EST 2018


You need to add this:

keycloak.cors=true

to your rest service config, and add WebOrigins in Keycloak's client configuration.

On 31.01.2018 15:51, SW wrote:

I have my own rest-service in Keyclok. I does nothing exception for returning
a string.

When I am calling it from my javascript-app, I see that there are no
access-control-headers set.

How do I modify my rest-service, to get the access-control-headers to be
set, besides of setting them myself?



--
Sent from: http://keycloak-user.88327.x6.nabble.com/
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user


[https://www.adbglobal.com/wp-content/uploads/adb.png]
adbglobal.com<https://www.adbglobal.com>


More information about the keycloak-user mailing list