-
Notifications
You must be signed in to change notification settings - Fork 427
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
Firefox cookies #365
Comments
Hi @crackcomm! Thanks for reporting. I'm not able to reproduce this (Firefox 57, clean profile). Did this by any chance happen in a private window? If not, which version of Firefox were you using? Ping @skogsmaskin |
Hi @crackcomm, thank you for your report. Could it be that Firefox is configured to never accept third party cookies? It needs to be set to "Accept from visited" in order to work with our login. |
@bjoerge I forgot to mention it happened on Firefox Developer Edition I cannot find in settings nothing about cookies except
When I search |
That cookie is the temporary cookie set during the login flow. The final authentication cookie is called I have now tested with Firefox Nightly (v. 58) and I can't reproduce this with any setting. :( The cookie settings in Firefox is under "Privacy and Security". Then under the heading "History", and if it is set to "Never remember history" or "Remember history", all the cookie settings will be hidden (doh). Switch to "Use custom settings for history" in order to see the actual cookie settings. |
|
@crackcomm, Ok, I think I've been able to reproduce this. Seems like it is related to the setting "Always use private browsing mode" in Firefox: I only was able to reproduce this when "Always use private browsing mode" is checked, and "Accept third-party cookies" was set to "From visited". I see you have it set to "Always". Maybe that is a difference from the official version (57) and your version (58). Anyway, it seems like there might be a bug in Firefox here, as "Accept from visited" definitely should allow our cookie to be set. |
I am not using this option though. |
That is really weird @crackcomm. Could it be that you are using any extensions that may block it somehow? (Thank you for your time helping us to debug this btw.) |
I was indeed using adblock but I turned it off after first try. Now I tried with all add-ons disabled. |
I now confirmed it works on same Firefox version but on Linux. |
OK, I guess this can be closed then. However I think Firefox has a bug when in a private window. It doesn't seem to respect the "Accept cookies from visited" policy. But that that is something for a bug report in Bugzilla. Thank you for debugging this with ut @crackcomm. |
Force acception cookies seem not to work. In network I've seen
302 Found
onPOST
and404 Not found
onGET
tohttps://jmurnk64.api.sanity.io/v1/auth/testCookie
.It's same for
localhost
andmanage.sanity.io
, it works on Chrome.The text was updated successfully, but these errors were encountered: