mirror of
https://github.com/FriendsOfSymfony/FOSFacebookBundle.git
synced 2026-03-24 08:42:33 +01:00
[PR #65] [CLOSED] Handler to erase the fb cookie on the app domain #239
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/FriendsOfSymfony/FOSFacebookBundle/pull/65
Author: @diegoholiveira
Created: 9/7/2011
Status: ❌ Closed
Base:
master← Head:master📝 Commits (9)
c76c4cfFixing the abstract commande1901f1Rolling back to the dev versiona7aedf0ignoring netbeans files0e1011fMerge remote-tracking branch 'upstream/master'addda15Merge remote-tracking branch 'upstream/master'e65547eMerge remote-tracking branch 'upstream/master'394b02dMerge remote-tracking branch 'upstream/master'7ca9f30Merge remote-tracking branch 'upstream/master'e79c81fImplementing a logout handler to erase the facebook cookie in the app domain📊 Changes
4 files changed (+74 additions, -3 deletions)
View changed files
📝
.gitignore(+2 -1)📝
README.md(+15 -2)📝
Resources/config/security.xml(+4 -0)➕
Security/Logout/FacebookHandler.php(+53 -0)📄 Description
When the user connect using the facebook, a cookie is written specifically for the application. When the user disconnect, this cookie has not been deleted by the security bundle, which made the javascript sdk remove this cookie and not allowed to connect again, at least until we reloading the page.
This cause me some issues, that was solved with this handler.
Ps.: the cookie name is formed by "fbsr_%app_id%".
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.