Add on_after_logout method to user_manager
Allows to perform custom logic (analytic etc.) after logout for the same reasons as in on_after_login.
I am currently using fast-api for serving html content. I know its not the primary use-case for it but its pretty well supported. Because of this login/logout requests come from html forms instead of api calls from javascript so login/logout routes need to handle http redirects. For login requests its easy to handle with the on_after_login method on the user_manager but for logouts there is no such option. Currently to add custom redirects to logout requires manually implementing both login and logout routes so having a on_after_logout method would make things much more convenient.
Will this RP be merged?
@heiskane is it possible to release this please?
@heiskane is it possible to release this please?
Yes its ready to merge.
Hello. Can you merge and release please @heiskane?
Hey. To clarify I'm not a maintainer in this repository so i don't have the ability to merge. Not sure if there is anything else needed of me here as there are no conflicts with this branch.
@frankie567 could you please let us know the current status of this feature?
Thank you for your interest!
Unfortunately, we're now in maintenance mode, which means we won't add new features and focus only on security and maintenance updates. [Read more]