Open laamlatay opened 9 years ago
Any log to support the debugging ? We need to see the cookies on the client side and the DEBUG mode on the server side for spring security and grails (org.springframework DEBUG should be fine).
There is no cookies but the one for session (JSESSIONID).
When I put the following lines in my gsp, I successfully get push events but the sessions gets expired and I get redirected to login page when page refresh is attempted. Working fine without spring security.
try { var grailsEvents = new grails.Events("${createLink(uri:'')}", {transport: "sse"}); grailsEvents.on('bagsUpdated', function (data) { console.log("GOT bags!"); }); } catch (error) { console.log("ERROR: " + error.toString()); }
My plugins,
compile ":spring-security-core:2.0-RC4" compile ":events-push:1.0.M7"