-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookie Not Being Cleared On Logout #21
Comments
What's odd is that if I logout from the GB app page, I don't also get logged out of Facebook. Is that how it should work . . . ?? I need to go to a couple sites using FB connect . . . I guess that's probably right:
It seems like there should not be an option to log out of the 3rd party site without also logging out of Facebook. Right? Like you can log out of Facebook, but not log out of GB on it's own. In other words the concept of logging in an out is really only Facebook, and GB simply logs you in and out under the covers, based on inspecting the FB Cookie (to see if you are logged into FB or not). Right? |
I'm not sure if the latest version was a fix for this but I still see this behavior. |
So, if you log out of FB - is there a way to force the user to log out of GB if it's not open? Probably not. We'll need to put a check in on the open of the GB page to make sure we not only get the cookie from the user - but first check that it's the currently logged in user for the FB session. |
Ok So, in the code we can either force them there (maybe sloppy since the url isn't clean) - or duplicate the code to do the login handler |
This works now - and actually - we've switched it so we're just following what the user is doing with FB - if they are logged in to FB and they have added GreenBean - then they'll automatically be logged in here. |
Reproduce:
The text was updated successfully, but these errors were encountered: