Skip to content
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

HybridAuth stores previous social account login even after logging out of social account #1384

Closed
ABDELMOUMEN-MUSTAFA opened this issue Aug 15, 2023 · 2 comments

Comments

@ABDELMOUMEN-MUSTAFA
Copy link

When I logout the user if he decides to connect again it automatically connect him to the previous account, what about if he decides to login with another account, if I clear the cookies manually it works, is there any method in hybridauth package can do that ?

@ApacheEx
Copy link
Member

this has nothing to do with hybridauth. When user wants to logout - you should redirect user to logout from the social network, and later redirect back to your site where you logout from hybridauth. This is the only way to handle multiple accounts without issues.

@ABDELMOUMEN-MUSTAFA
Copy link
Author

Ok, Do you mean $adapter->disconnect() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants