magiclabs / magic-js

Magic browser/React Native JavaScript SDK is your entry-point to integrating passwordless authentication inside your application.
https://magic.link/docs/api-reference/client-side-sdks/web
Apache License 2.0
463 stars 86 forks source link

OAuth session not persisted in iOS PWA installed to home screen #667

Open Gnorme opened 12 months ago

Gnorme commented 12 months ago

✅ Prerequisites

🐛 Description

Sessions are not persisted after a user closes and re-opens a PWA installed to Home Screen on iOS.

🧩 Steps to Reproduce

  1. Install web app to Home Screen
  2. Open app
  3. Login
  4. Close app
  5. Re-open app

🤔 Expected behavior

User session persists after closing and re-opening web app.

😮 Actual behavior

User is logged out and has to go through the login flow every time the app is opened.

🌎 Environment

Software Version(s)
magic-sdk 21.2.0
Browser Safari / Webkit
Operating System iOS 16.7
blue-codes-yep commented 2 months ago

Was this ever resolved?