Progressive Web Apps and SSO on iOS Not Working

Overview

This article will discuss why SSO to a Progressive Web App is not possible on iOS.

Applies To

  • Progressive Web Apps (PWA)
  • Native apps
  • iOS
  • Single Sign On (SSO)

Solution

On iOS, PWAs run in a sandboxed web view that does not share cookies or storage with Safari. Due to this, SSO from a native app to a PWA is not possible on iOS. This is a known platform limitation imposed by Apple. When a user adds a PWA to the homescreen, it runs in a separate sandbox that does not share cookies or storage with the main Safari browser. Since our native app SSO session lives in that shared Safari space, the PWA can't see it. The user will be prompted to log in again.

Recommended content

No recommended content found...