-
Notifications
You must be signed in to change notification settings - Fork 386
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
Logout on all devices #746
Comments
Hi @hgani, in the |
Oh, I'm sorry, I forget about it. You're right, that's why it's not in the readme. Ok, so currently we have the I'll leave the issue open then. I doubt I'll have time work on it myself any time soon, but if you or someone else is willing to take it, I might have some idea how it could be done. |
@arnvald Interested in your take on how this could be done. I'm working on a PR for it now and considering having a configurable column on the |
@fangbyte can you explain a bit more about how your solution would work? How would the The solution I had in mind was:
Then in controller in your application you could add a new action This, however, when deployed, will log out all users, so there needs to be some migration mechanism added for seamless production deployment. |
@arnvald I tagged you in the PR on the newer sorcery project that has a spike of what I am talking about, but I'll link here so if anyone finds this later on it's connected for posterity sake. Sorcery/sorcery#110
|
Hi,
There are cases where we'd like to invalidate all of the sessions of a specific user.
For example, if a user forgot to log out on a shared computer and someone else obtains access to the account.
Let's say the user notices this and decides to change his/her password.
Ideally, we'd like to be able to delete the sessions on other devices (including the shared computer).
Is this something that can be done in Sorcery?
Thanks
The text was updated successfully, but these errors were encountered: