how do i configure to automatically log out when the token should have expired.
i have my token set to 20mins, but the system does not automatically log me out after 20mins of no activity. actually, it does not log me out at all. (tried overnight)
Thanks
2 Answer(s)
-
0
Hi,
There is no such an automatic system in ABP. You can implement your own. You may do it in client side by a timer or server side. If you understand it on server side, than you should send a signal to client to logout (you may use SignalR). So, it's not very simple, but you can implement if you really need :).
-
0
My opinion is that this should be done in front-end, for service request, if get a error message code with no user login, then the front-end should catch the error and redirect to the login page to get a new token