Deactivate User account due to inactivity
Hello Team,
I have a scenario where I want to deactive a user due to being inactivty lets says for 30 days.
So the ideal solution is to look at the event logs although the client must only generate the session token and then keep on using the token to let the user perfrom actvities on their application which will not be logged in the Zitadel event store.
The only interaction of client using the token with zitadel would be that of verifying the token by fetching the user info in their middleware (/auth/v1/users/me).
So in this case is there a Event log that I can use to check the event of last user token verification? Or do you have a solution for me to implement where based on user inactivity for 30 days , I deactivate the user account
Looking to get some help here.
Thanks
I have a scenario where I want to deactive a user due to being inactivty lets says for 30 days.
So the ideal solution is to look at the event logs although the client must only generate the session token and then keep on using the token to let the user perfrom actvities on their application which will not be logged in the Zitadel event store.
The only interaction of client using the token with zitadel would be that of verifying the token by fetching the user info in their middleware (/auth/v1/users/me).
So in this case is there a Event log that I can use to check the event of last user token verification? Or do you have a solution for me to implement where based on user inactivity for 30 days , I deactivate the user account
Looking to get some help here.
Thanks
