[keycloak-user] Error when session expired and ajax request execute in Keycloak?

Adam Daduev daduev.ad at gmail.com
Sun Jan 8 17:29:16 EST 2017


Hi, can you help me!
When session expired and ajax request execute in Keycloak, i have error in
browser console:

XMLHttpRequest cannot load http://dc09-apps-06:8090/auth/
realms/azovstal/protocol/openid-connect/auth?…ml&state=
60%2F01fc2e79-6fc0-46b8-9f83-39b7421fedf9&login=true&scope=openid. No
'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:8080' is therefore not allowed access.

I add in Keycloak admin console, in the client setting, Web Origins=
http://localhost:8080 (or *), and enabled cors in app, but still has error
in console. I used Keycloak 2.5.0


More information about the keycloak-user mailing list