I only want to permit access to one user at a time using the same credentials. All previous logins ought to be cleared out if a user comes in with the same credentials on either the same device or a different one. Exists a way to control this?
Hi Ibruse,
To achieve this you need to first identify each device uniquely. If you're successful in that (hint: a probable solution can be browser fingerprinting or identify mobile devices by UUID).
If you're successful in achieving the above issue, you are only 1 step ahead in achieving your goal.
What is your strategy for identifying same device same browser, but inside incognito mode? or a different chrome profile? There can be many possibilities.
If you're able to achieve fairly large percentage of different use cases and scenarios, you might be able to then distinguish by saving some fingerprinting information with your each successful login. Then you can decide to allow new sessions and kickout existing user sessions if they try to access from previous device without new login.
Hi,
I think this is what you are trying to achieve,
Please check below post for reference.
https://www.outsystems.com/forums/discussion/49596/restrict-multiple-logins/
And below discussion having.oml file.
https://www.outsystems.com/forums/discussion/70423/single-session-login-user/
You can refer both to achieve the same.
Thanks,
Ajit Kurane
You try the below forge component,
https://www.outsystems.com/forge/component-overview/17561/no-concurrent-login