What is the best practive to prevent users with persistent login that we want to 'block' from using an app?Is there a simple way to stop / break the persistent login of a user (to force their login again)
And is there a way to do this server side without having the user in session, or do we have to add code to the app layout/screens to detect the user in the session is now blocked and log them out?
Hello @André Pinho ,
You can set the RememberLogin parameter in DoLogin Server action to False and adjust the Max Idle Time value for a session in your application.For more details, you can refer to the official documentation here: Configure app authentication
Hi Sherif, sorry if I wasnt clear, I meant if the persistent login is enabled (and we want to keep it enabled) how do we stop a specific user from being logged in if we need to, example an employee that has left the business or customer has stopped becoming a customer.And is there a way we can control that, that is not on the user client side, but done on the server side outside of the users active session.
No it's all good,In this case, have you tried setting the user’s IsActive property to false on the Users page or in the User table ?