splix/grails-spring-security-facebook — Issue #8: LogOut handler does not work
Author: xmly
Created: 2012-03-07 02:11:27+00:00
State: open

This is interesting.

I am using test.foo.com to access the website. But facebook setup the cookie under foo.com .

if (cookie != null) {
logger.info("Cleanup Facebook cookies")
cookie.maxAge = 0
cookie.path = '/'
httpServletResponse.addCookie(cookie)
}

This code does execute. But the facebook cookie does not be deleted.

I add the code: cookie.domain = ".foo.com"

Then it works...

Any comment?