| Summary: | Twitter PWA saved to Homescreen displays confused login state | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kenneth Kufluk <kenneth> | ||||
| Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | achristensen, cdumez, webkit-bug-importer, wilander | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 14 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 411468 [details] Install Twitter website to homescreen shows bad login state On iPhone XS, iOS14. I use Safari to load twitter.com. I log into my account, and browse around. I choose to save Twitter to my homescreen. I then load Twitter from my homescreen. Expected: EITHER: - still logged into Twitter - logged out of Twitter Actual: - Page shows my account, but no content will load. I suspect that the problem is that the homescreened site is sharing a serviceworker with safari but not sharing cookies. I suspect the page showing my account is from the serviceworker cache, but the site does not have the right cookies to be able to make further requests. Swipe-up the homescreened site and re-opening will show a logged-out state. This bug is not always reproducible, I think because the serviceworker needs to be installed and to cache a page.