You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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());
}
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).
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"
The text was updated successfully, but these errors were encountered: