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

Problem with Logging Out #28

Open
timpeihunghsieh opened this issue Jul 11, 2021 · 1 comment
Open

Problem with Logging Out #28

timpeihunghsieh opened this issue Jul 11, 2021 · 1 comment

Comments

@timpeihunghsieh
Copy link

I noticed that I can log back in to the app right after I logged out. In fact, even if I clear the localhost's cookie or the session table in mongodb, I can still log in without a password right after I logged out.

Does anyone know how to resolve this?

@timpeihunghsieh
Copy link
Author

I believe this is working as intended. When a user logs in with Google, user actually signs in with Google. However, when the user logs out of the app, user did not log out of Google. Therefore, when user logs in again, the app will still let the user through. I tried this on other sites that use Sign In with [Google/FB], they all have the same problem. I believe this is the downside of using OAuth.

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

1 participant