ueberauth / guardian_db

Guardian DB integration for tracking tokens and ensuring logout cannot be replayed.
MIT License
368 stars 87 forks source link

Add revoke_all/2 #115

Closed thiamsantos closed 4 years ago

thiamsantos commented 4 years ago

Motivation

In some authentication flows, we want to revoke all tokens of a user/resource after a password update. Closes ueberauth/guardian#651.

Proposed solution

Introduce revoke_all/2 in the Guardian.DB API

Hanspagh commented 4 years ago

I think this looks good

thiamsantos commented 4 years ago

@yordis @doomspork Could we have a new version of guardian_db released with change?

Klockner commented 4 years ago

Any idea of when we will have it released? 🙂

doomspork commented 4 years ago

@thiamsantos for future reference it's always best to @ueberauth/developers so you ping the larger group. I know me personally, I've got a lot on my plate right now with the state of things so I'm falling behind on notifications here.

I'll see about cutting a release today.