I am looking for a signal similar to user_logged_in, which should be emitted when a user is authenticated successfully. What would be the best way to implement it. Currently I am overriding JSONWebTokenSerializer validate() method to emit signal. But it's leading to code redundancy.
I am looking for a signal similar to user_logged_in, which should be emitted when a user is authenticated successfully. What would be the best way to implement it. Currently I am overriding JSONWebTokenSerializer validate() method to emit signal. But it's leading to code redundancy.