User cannot login via SSO if another user was logged via SSO
If one user was already logged via SSO in mobile app, second user cannot login. After authentication of second user, the first user is still logged in.
Steps to reproduce:
- in mobile app login via SSO with user <your_lutra_email>@lutraconsulting.co.uk
- go through Microsoft authentication
- Sign out
- go to sign in screen in the app and click Continue with SSO
- login with second user [email protected] -> Microsoft authentication is skipped and first user is still logged in
Application (+ app version, build, operating system)
- Current Android app version: 2025.3.1
- Android version: 14
- Mobile browser: Chrome 137.0.7151.115
Note: to avoid this behavior, you must open the browser in the mobile device and clear browsing data.
Yeah there are several options how to prevent that. I think in real environments this will be not issue. To avoid this from plugin or mobile :
-
we could send forceAuthn=true Param to /authorize request.
-
we could instruct admins to revoke session for user in entra admin portal
-
if customers will have higher plan, they can make more detailed option on how to make sessions shorter in Entra Future option
-
in future we could sign out user not just by removing token
After talking to Ory support, they say this is more of an edge-case. forceAuth should be used only for specific customers if they require so as it basically breaks true SSO (you would need to sign in multiple times, not once! :) )