passport icon indicating copy to clipboard operation
passport copied to clipboard

Allow optional custom logout implementation for a Strategy

Open hypescript opened this issue 7 years ago • 1 comments

Some strategies could benefit from being able to define some custom logic, related to logout, e.g. a strategy for RFC 7009-compliant OAuth2 server could revoke accessToken on logout, and I'm sure there are plenty of other examples.

If I understand correctly, current implementation only allows this via monkey-patching of logout method of either SessionManager or Request.

hypescript avatar Dec 31 '17 16:12 hypescript

very old post, but would be still nice. or is there a way already?

dennemark avatar Jun 10 '25 08:06 dennemark