Log Out Inactive Accounts

0
Hi,   How can I log out all inactive accounts from the app? I've noticed that they can still navigate the app if they are made inactive for a while after logging in. I don't want that.   Thanks in advance.
asked
4 answers
0

Hi Ayberk,

Could you please clarify what you mean by "inactive"?

As far as I understand, a user can still access the app as long as their login session remains active.

answered
0

Hi Ayberk,

 

By adding an after commit event microflow to the User entity, if the user is active = false in condition, retrieve user's sessions and delete all . The user will be logged out.

 

image.png

answered
0

There are widgets in the app store like timeout that will sign users out after a certain time of being idle.

answered
0

After you set them as inactive, delete their session. That will log the users out since their session was terminated.

answered