You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The very first time someone accesses the embedded Sandbox configured with cookies included by default, the following happens:
Page loads, go to connection settings, cookies are included (wanted behaviour)
A ton of requests happen in the background
At some point, the page/frame reloads automatically
Go to connection settings, cookies are disabled (unwanted behaviour)
At this stage, refreshing the page entirely doesn't bring back the initial config, which means users explicitly have to go to connection settings and enable cookies.
After doing this, though, the preference is persisted across refreshes.
Link to Reproduction
See below
Reproduction Steps
Apologies, I tried to sign up / log in to CodeSandbox, but it seems it doesn't work.
Apologies, this was a typo, we do have includeCookies at the top level, as indicated in the docs you linked to. I edited the original post to avoid confusion.
Remember to open this in an incognito/InPrivate window, and to wait for the frame to reload before checking again whether cookies are configured to be included, as I did in the video in the original post.
Hi @mayakoneval, this is still an issue for us, the includeCookies setting doesn't work, or rather is lost, on the very first load of the embedded Sandbox.
Issue Description
The very first time someone accesses the embedded Sandbox configured with cookies included by default, the following happens:
At this stage, refreshing the page entirely doesn't bring back the initial config, which means users explicitly have to go to connection settings and enable cookies.
After doing this, though, the preference is persisted across refreshes.
Link to Reproduction
See below
Reproduction Steps
Apologies, I tried to sign up / log in to CodeSandbox, but it seems it doesn't work.
However, repro steps are super simple:
Start from the Apollo CodeSandbox: https://codesandbox.io/p/sandbox/apollo-server-typescript-3opde
In
index.ts
, replacewith
Open an incognito/InPrivate tab, and reach the CodeSandbox public URL
Observe what happens as per the description.
Here's also a video of it showing on a personal project:
apollo-cookies-shenanigans-repro.mp4
The text was updated successfully, but these errors were encountered: