Option to force logout all users?

Hi All,

I’m looking for a way to ‘force logout’ a user or all users. In my use case, I have a type in my user database for ‘active’ and ‘inactive’ users. I can disable accounts by doing so. However, I don’t want to have to wait until that user or users logout for them to not be able to get back in.

Anyone have tips or a solution to this? Would also be useful for my clients, as they will have users that they manage and may want to do the same.

Any feedback is appreciate.


1 Like

You can make a change to a list, all users, and then update their fields to inactive. Just create a workflow in an “admin” page that only you can view. Hope this is helpful. :slight_smile:

1 Like

Hey @J805!

Thanks for the reply. I have this in place already… only problem with this way is that if a user is logged in, they will remain logged in until they close the browser or logout. Then, when they try to log back in they will have access denied. :thinking:

1 Like

@lantzgould With @J805’s setup, you could also create a redirect workflow on each page (or once, inside of a reusable element that’s on each page). The redirect workflow could be:
When Current User’s “Inactive” is "yes -->
Go to the “Inactive” page

That should prevent them from accessing/using the other pages in the app. The “inactive” page could then contain a text stating “Your account is inactive. Click below to return to the homepage”. That button could log them out officially, and take them to the app’s landing page. :slight_smile:

1 Like

@fayewatson great idea! I’ll try this now. Must have had too much coffee and drew a creative block lol :slight_smile:


No problem at all! (And that happens to me all the time!) :slight_smile: