Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed wallet popup is not working in MacOs safari #260

Closed
ieow opened this issue Apr 12, 2022 · 4 comments
Closed

embed wallet popup is not working in MacOs safari #260

ieow opened this issue Apr 12, 2022 · 4 comments

Comments

@ieow
Copy link
Contributor

ieow commented Apr 12, 2022

due to safari bug where localstorage is not persistent.
https://bugs.webkit.org/show_bug.cgi?id=225344

The popup wallet not able to restore key

@ieow
Copy link
Contributor Author

ieow commented Apr 12, 2022

after further research it is due to ITP in Mac safari (https://webkit.org/blog/7675/intelligent-tracking-prevention/)
the workaround is request permission from user for first party storage access api
https://webkit.org/blog/8124/introducing-storage-access-api/

@ieow
Copy link
Contributor Author

ieow commented Apr 13, 2022

longer flow needed to acquire Storage Access API
https://webkit.org/blog/11545/updates-to-the-storage-access-api/

@ieow
Copy link
Contributor Author

ieow commented Apr 13, 2022

It seems like the Storage Access API is only for cookies
webstorage like localstorage and indexdb are still partitioned

privacycg/storage-access#4
privacycg/storage-access#95

@arichiv
Copy link

arichiv commented Dec 4, 2023

There's an origin trial for accessing unpartitioned local storage and indexed db: https://developer.chrome.com/blog/saa-non-cookie-storage/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants