magic-js icon indicating copy to clipboard operation
magic-js copied to clipboard

OAuth session not persisted in iOS PWA installed to home screen

Open Gnorme opened this issue 1 year ago • 1 comments

✅ Prerequisites

  • [x] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • [x] Are you running the latest SDK version?
  • [x] Are you reporting to the correct repository (magic-sdk)?

🐛 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

Gnorme avatar Nov 15 '23 22:11 Gnorme