Select to view content in your preferred language

Force new login or pull updated user info

244
1
06-02-2026 01:23 PM
Status: Open
abureaux
MVP Frequent Contributor

I'd like to give a better title, but that's the most general I could make it. The discription below should help!

Issue: Something changes in the Portal, such as groups, and app users get errors that they don't have permission for a resource. Logging out and back in fixes the issue because the user information (e.g., Groups) is updated.

Example: I recently updated a a group in Portal to point to a new SAML Group. The group is otherwise unchanged and works as expected. When you make this change, the all users are removed from the group. As a result, users in Survey123 get permission errors. Even if a users is connected to the internet, the app caches old data, so the two are out of sync. Logging out and back in fixes the issue. 

Fix: Either pull new credentials while connected to the internet, or kick the user out of the app (forcing them to log in), or maybe an admin control panel to forcably log all users out (again forcing them to log in again).

Extra: As an example for that third option, think of Apple, Steam, and (maybe?) Netflix. You can log in, go to settings, and click a button to focably log out all devices, thus making them log in again.

Business Reason: Help reduce/eliminate data loss (i.e., user fills in a form, trys to send, gets an error). Additinoally, this would cut down on awkward company-all emails and troublshooting, and in general just save time. 

1 Comment
ClayGibson_MCF

I think there is a reason that it may not be doing that normally for you. If you have offline capabilities enabled then they have to use the stored login information. There may be a way to write into the survey to check for internet connectivity and require a new login with a timeline set for every 24 hours, but if no internet connection is detected then to use the stored credentials until a new connection is established. 

If they are out in the field a lot where there is not a connection then you could set it up as a first thing in the morning setting that it logs them out at Midnight and requires a new login with internet connectivity is require before any Surveys can be completed. 

You can force everyone to log out but they must have the device on and not be running in offline mode for it to work. Just like someone could not force Netflix to logout when your flying on a plane watching in airplane mode. as soon as it gets connection it would log out. drawback to doing that is that all the surveys that were done in that offline mode can be lost. I found this out the hard way.

Those are just the from the hip suggestions I could think of. I hope some of these ideas help you out.