iOS Retains Login Sessions Even After App Deletion

I'm reaching out to discuss a significant issue related to how iOS handles app login sessions, particularly in the context of MDM (Mobile Device Management) and the Outlook app.

In our organization, we use MDM to distribute applications, including Outlook, with certificate-based authentication for BYOD (Bring Your Own Device) devices. This setup allows users to log in seamlessly to their accounts. However, we've encountered a concerning behavior: when a user unenrolls from MDM, which automatically removes the distributed apps and certificates, they can later reinstall the app from the App Store and find themselves automatically logged back into their previous accounts without any authentication prompts.

Here’s a detailed breakdown of the situation:

  • Initial Installation: Users enroll their devices in MDM, which installs the necessary apps and certificates on those devices.
  • Session Storage: After the initial login, the app stores the session locally on the device.
  • App Deletion: When users un enroll their devices from MDM, it automatically removes the distributed apps and certificates.
  • Reinstallation: Days or weeks later, when they reinstall the Outlook app from the App Store, they find themselves automatically logged back into their accounts.

This behavior raises important concerns: Lack of Authentication: The app retaining user sessions even after deletion allows users to access their accounts without re-authentication, which could lead to potential unauthorized access and undermines the effectiveness of certificate-based authentication and two-factor authentication (2FA).

Note: This issue is not limited to Outlook; we've observed similar behavior with many other apps.

Need for a Solution - Given the implications of this behavior, we are looking for effective solutions to prevent it. Specifically, we need options within the MDM framework to:

  • Restrict Session Retention: Implement settings that ensure any app deleted via MDM will lose all stored sessions and require re-authentication upon reinstallation.

  • Default Settings for MDM-Distributed Apps: Ideally, this would be a default feature for all apps distributed through MDM, ensuring that user sessions are not retained after app deletion.

Has anyone else experienced this issue? Are there any existing settings or workarounds within MDM platforms to mitigate this problem? Your insights and experiences would be invaluable as we navigate this challenge.

Thank you!

Filed a FeedBack Report (FB15676610): iOS Retains Login Sessions Even After App Deletion

iOS Retains Login Sessions Even After App Deletion
 
 
Q