-
|
The "/logout" route seems to be hard coded in All the best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
|
(UPDATED in Apr 21, 2025) There are two ways to solve this.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks. In case anyone in the future ends up finding this discussion, here is the code I settled on to get things working as per @rayluo's suggestion. Note that My And everything seems to work :) Thanks again to @rayluo for the advice. |
Beta Was this translation helpful? Give feedback.
(UPDATED in Apr 21, 2025)
There are two ways to solve this.
from identity.flask import Auth, you can try subclassAuthand override itsdef logout(self)method. Add your own clear-session logic there, while still calling the parent method and return its return value.