Questions tagged [storage-access-api]
23 questions
17
votes
0 answers
Reading cookies with "Samesite=None;Secure" from iframe in Safari 13
I have an iframe where I use cookie authentication. The cookie is set normally on my domain when users log in. I use SameSite=None;Secure. The problem is that when a third party website embeds an iframe from my domain, my authentication cookie is…

tomschmidt
- 382
- 1
- 2
- 12
13
votes
1 answer
Cannot set cookie in iframe using the Storage Access API on Safari
I have an iframe on my page. As Safari blocks 3rd party cookies, I am trying to use the Storage Access API as suggested here under 'Developer Guidance': https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/. I have copied the…

lunr
- 5,159
- 4
- 31
- 47
12
votes
1 answer
Firefox Storage Access API denies local storage after successful requestStorageAccess() call
I want to test the new Firefox Storage Access API to allow 1st party storage (cookie, local storage, indexeddb, ...) to an iframe of a different domain (but still under my control).
Parent Markup / code
…

elbartus
- 303
- 2
- 11
5
votes
1 answer
How to access first party cookies after Storage API granted it?
I investigate a possibility to use Storage Access API https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API/ to get an access to first party cookies from 3rd iframe. The problem is that despite Storage Access API gave me an access,…

Michal Vyskocil
- 95
- 1
- 7
5
votes
2 answers
How to debug Safari ITP 2.0 requestStorageAccess failure
I'm currently working on making my code compatible with Safari ITP 2.0. In a method that is triggered on an onClick, I have code similar to the code below:
if (document.hasStorageAccess && document.requestStorageAccess) {
console.log('On Safari…

Arya
- 1,382
- 2
- 15
- 36
3
votes
0 answers
Revert the given permission to Storage Access API on Safari
I am working with Storage Access API on Safari.
For testing/debugging purposes, I want to take back the permission that I've previously given. Currently, I keep creating new loopback IPs which is a bit annoying (see screencap below), also I need to…

Kerem atam
- 2,387
- 22
- 34
3
votes
1 answer
Safari ITP 2.0 Storage Access API - Trouble Nesting requestStorageAccess in hasStorageAccess - Non Nested Works
I'm currently trying to implement calling the storage access API, but am having trouble nesting the call to requestStorageAccess in hasStorageAccess.
Here is an outline of the code - it's fairly standard:
requestStorageAccessAndServe() {
let…

Arya
- 1,382
- 2
- 15
- 36
2
votes
0 answers
Safari iframe hasStorageAccess, but outputs a different localStorage from it's non-iframed url
I have an iframe which I'm attempting to integrate the Storage Access API on https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API
The html for the iframe is as follows:
2
votes
0 answers
Does Safari's "Storage Access API" only work with iframes?
I am trying to use the Storage Access API in plain old JavaScript inside of a modal. I am not using an iframe. All of the docs that I see online for the Storage Access API reference iframes. Does this mean the technology only works with iframes or…

Ishaq Zakvi
- 21
- 1
1
vote
0 answers
Storage Access API, first person interaction
I have website a.com, that has an iframe loading b.com in it. In order for the browser to save cookies from b.com in Safari, I have to access the Storage Access API. This requires user interaction with the content in the iframe. The problem is that…

Syed Raza
- 11
- 1
1
vote
1 answer
safari storage access api not granting access in iframe
Yes as far I have seen the way to grant request access to storage api is to ask for user gesture in iframe, but even I am unable to get the pop-up as well as when initating user gesture and calling the requeststorageaccess() fn through the button…

acinonyx2199
- 11
- 2
1
vote
1 answer
Azure Storage Queue via REST API c# using Shared Key Authentication
I am trying to call Azure Storage queue using REST API, but I am getting an error
The MAC signature found in the HTTP request
'UCiypkoySXueF4scXt+EqQESf5VXmAVLJUA93+3W10M=' is not the same as any
computed signature. The server used following string…

Dinesh Tripathi
- 196
- 3
- 17
1
vote
1 answer
Android 11 Storage Access Framework - How to use files?
Hey there fellow devs,
I have come across a problem while migrating our app to the new API 30 standards with the storage access framework (SAF).
I have successfully migrated the file structure and am now using the internal (FilesDir) paths.
Getting…

DominikPOwershell
- 11
- 2
0
votes
1 answer
DeepL API not working on KivyMD 1.1.1 android app
I'm building a KivyMD python app for Android. I try to access the DeepL API. It works perfectly on my desktop and on my android device (when compiled with buildozer) when I use 'requests'. But it works on my desktop but not on my android device when…

felinx94
- 3
- 2
0
votes
0 answers
Setting Cookie in in iframe using Storage Access API not working on iPhone and iPad
There is a Website that shows my Website using iframe ( i don't have access to that Website ).
in my website there is a login form that works on chrome, firefox, edge but not safari.
i have used https://github.com/privacycg/storage-access
This is…

Arash Yazdani
- 294
- 3
- 18