Hi, just wondering why there is no hooks in flows.logout.after ?
is it by design or bugs?
enough-lawyer-87111
04/01/2023, 3:40 PM
context: i want to blacklisted jwt token that generated by oathkeeper, when user logout
m
magnificent-energy-493
04/03/2023, 9:13 AM
Hey @enough-lawyer-87111
I am not sure but I think there was just no use case for it so far.
Feel free to open a feature request issue on github.com/ory/kratos
e
enough-lawyer-87111
04/03/2023, 9:52 AM
Hi @magnificent-energy-493, thank you for responding!
yeah i dont think its a bug, the workaround solution is quite simple, the frontend just need to hit another api to blacklist that jwt, and save/cache it on cache db for couple minutes, just like we define ttl in oathkeeper mutators
d
delightful-garage-16669
05/02/2023, 9:51 AM
Hi @enough-lawyer-87111,
I also need this hook - did you create new feature request for this?
e
enough-lawyer-87111
05/03/2023, 4:17 AM
@delightful-garage-16669 no, im not creating feature request, as i explained above, the fe just need to hit my another api to blacklist that jwt token