Automatic logout for users in native

2
Hi Experts, Is there anyway I can schedule an event to logout all the inactive user within certain period ? I have tried to configure session timeout in the environment but it doesn’t work for the native app.
asked
3 answers
0

please can anybody help? I also need this

answered
0

Please read this: https://docs.mendix.com/refguide/tricky-custom-runtime-settings

Please keep in mind that native apps do (from architectural mindset) not need a network connection. 

answered
0

Hi Chan, 

 

You can use below custom runtime settings to control the timeout

.com.mendix.webui.HybridAppLoginTimeOut: Determines how many minutes your token will remain valid before re-authenticating using your full credentials. This setting defaults to -1, which is equal to no timeout.-1

https://docs.mendix.com/refguide/custom-settings/#web-client-settings

 

Although the runtime setting is called "hybrid" this applies for native mobile apps too.

answered