[PR #65] [CLOSED] Handler to erase the fb cookie on the app domain #239

Open
opened 2026-01-24 11:37:11 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FriendsOfSymfony/FOSFacebookBundle/pull/65
Author: @diegoholiveira
Created: 9/7/2011
Status: Closed

Base: masterHead: master


📝 Commits (9)

  • c76c4cf Fixing the abstract command
  • e1901f1 Rolling back to the dev version
  • a7aedf0 ignoring netbeans files
  • 0e1011f Merge remote-tracking branch 'upstream/master'
  • addda15 Merge remote-tracking branch 'upstream/master'
  • e65547e Merge remote-tracking branch 'upstream/master'
  • 394b02d Merge remote-tracking branch 'upstream/master'
  • 7ca9f30 Merge remote-tracking branch 'upstream/master'
  • e79c81f Implementing 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.

## 📋 Pull Request Information **Original PR:** https://github.com/FriendsOfSymfony/FOSFacebookBundle/pull/65 **Author:** [@diegoholiveira](https://github.com/diegoholiveira) **Created:** 9/7/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`c76c4cf`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/c76c4cf32a70ded550e5bdfe5645fc9f0402beff) Fixing the abstract command - [`e1901f1`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/e1901f1b9261831f29eed1c46ba9244e272c32e7) Rolling back to the dev version - [`a7aedf0`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/a7aedf0f6cb5a58064492683a8c6495b7f042b92) ignoring netbeans files - [`0e1011f`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/0e1011f727fc186825607405d9e827c1f263b6ef) Merge remote-tracking branch 'upstream/master' - [`addda15`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/addda15d24d6e69103198db9a4391f7c5285c6b8) Merge remote-tracking branch 'upstream/master' - [`e65547e`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/e65547ee7803a58189101cfb3bc729c57544594e) Merge remote-tracking branch 'upstream/master' - [`394b02d`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/394b02d16e7412cca82c156b6e3a7215d86b811c) Merge remote-tracking branch 'upstream/master' - [`7ca9f30`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/7ca9f3079725d65976bf413ad6e306c9e8cec1ba) Merge remote-tracking branch 'upstream/master' - [`e79c81f`](https://github.com/FriendsOfSymfony/FOSFacebookBundle/commit/e79c81fb4a0d791e2db40432a2512ef816c4c76c) Implementing a logout handler to erase the facebook cookie in the app domain ### 📊 Changes **4 files changed** (+74 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -1) 📝 `README.md` (+15 -2) 📝 `Resources/config/security.xml` (+4 -0) ➕ `Security/Logout/FacebookHandler.php` (+53 -0) </details> ### 📄 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%". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-24 11:37:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FriendsOfSymfony/FOSFacebookBundle#239