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

How to do logout (google login) #350

Open
kannanseeni opened this issue Jan 24, 2022 · 4 comments
Open

How to do logout (google login) #350

kannanseeni opened this issue Jan 24, 2022 · 4 comments

Comments

@kannanseeni
Copy link

Able to login . But when logout only my app is getting logout and not google login. How to logout both . Using Symfony 5.4

@comxd
Copy link

comxd commented Nov 25, 2022

I think you want to disconnect the "app" (your website) from your Google account?

@MLukman
Copy link
Contributor

MLukman commented Jan 31, 2023

This long Stackoverflow answer posted more than 10 years ago explained why what you want is a bad idea: https://stackoverflow.com/a/12909563/34586

@mariansam
Copy link

@comxd and do you know how to do that? If my user realizes "oh, i don't want to give mariansam's thing access to my Google Calendar anymore, let's go to his page and click 'Disconnect Calendar'!", is there a way I can implement that?

@bocharsky-bw
Copy link
Member

Users can do it directly on the provider's permissions page, like in the example of Google provider - you can do it on this page: https://myaccount.google.com/permissions?continue=https%3A%2F%2Fmyaccount.google.com%2Fsecurity - you can remove access to the specific app that used access to your app. I'm not sure you can do it from your website using API fairly speaking

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

5 participants