Engineering / ENG-1717
Single sign-on loops on iPhones and Macs: Safari drops the session cookie on the SAML POST
Description
Parcelwise's people at Eindhoven on iPhones and some Macs go round in a loop: Microsoft sign-in, back to ours, Microsoft again (SUP-1152). Windows is fine. Workaround: Chrome or Edge.
Steps to reproduce
- iPhone, iOS 17.6, Safari. Depot on single sign-on.
- Sign in through Entra ID.
Expected: signed in. Actual: back on our sign-in page, round again.
The session cookie on the assertion POST is SameSite=Lax; Safari leaves it out of the cross-site POST from Entra ID, so we start the sign-in again. That cookie needs SameSite=None; Secure.
Linked issues
- relates to SUP-1152 Parcelwise: sign-in loops between Microsoft and ACME on iPhones and Macs Done
Comments (2)
Hanna Virtanen · 15 Sep 2026, 11:40 UTC
Verified on iOS 17.6 and Safari 17 on macOS, Entra ID and Okta test depots.
Confirmed in identity-service; fix in review. Affects any customer on iOS, not only Parcelwise.