Force logout application

Are you looking for help?

I am trying to do a forced logout, that is, for security measures, or in some cases where the user is doing something wrong with the application, it is necessary to take control of the application and force a logout. The question is, does anyone know if this can be achieved using backendless, sending a signal, notification, etc or should I do it from the same swift system? Any ideas.

Backendless Version (3.x / 5.x, Online / Managed / Pro )


Client SDK (REST / Android / Objective-C / Swift / JS )

Current iOS app version: 15.0

Application ID


Expected Behavior

Please describe the expected behavior of the issue, starting from the first action.

  1. User is logged (Doing something wrong with app data)
  2. An admin realizes that something is wrong with that user and the behavior with the application and decides to terminate the session of that user forcibly and send him to the login screen, invalidating the account for a certain time until clarifying what happened to the app.

Greetings and thanks in advance as always. Norman,

Your application can establish a pub/sub subscriber which would listen for special, administrative types of messages. Such messages may indicate that the user needs to be forcibly logged out. Your admin app would be the publisher of these messages. Messages can be delivered directly to individual users. You may introduce some additional encryption of the messages to avoid someone spoofing the forced logout activity.

Hope this helps.