Sanity: Can't login on mobile (Safari or Chrome)

Created on 8 Mar 2019  路  10Comments  路  Source: sanity-io/sanity

Steps to reproduce the behavior:

  1. Go to the login of a sanity desk
  2. Click on the accept cookie
  3. Click to login with GitHub. After authenticated, it takes you back to which thing to login with. Click github again, and it just takes you back to what to login to. So it's re-repeating itself.

Expected behavior
To login and edit where needed.

Which versions of Sanity are you using?
@sanity/base 0.140.9
@sanity/components 0.140.9
@sanity/core 0.140.9
@sanity/default-layout 0.140.9
@sanity/desk-tool 0.140.9

What operating system are you using?
iOS 12

My settings for Safari allows cookies
img_0384

Bug

Most helpful comment

Are there any updates on this?

All 10 comments

Haven't heard anything back on this yet? Can someone please look into it please? Quite frustrating that it's not working as a big part of the reason moving to Sanity was that I wanted to edit content on my mobile.

Thanks!

Thanks for the report and apologies for the radio silence. We're aware of the issue. It seems that our login at times triggers the cross-site tracking prevention in Safari (even if no such tracking is going on). It's a sporadic error, but once it strikes it's sticky and prevents login.

We will definitely be addressing the issue. The immediate remedy is to allow cross-site tracking.

Thank you for the quick reply @evenwestvang and for addressing the issue! Have allowed cross-site tracking now in Safari and is working nicely, so am happy until this can be looked into. 馃憤

Are there any updates on this?

Looks like the latest version of content studio is not letting me login via Safari - looks like a cookie issue? (404) https://lx67wdtx.api.sanity.io/v1/auth/testCookie
Screen Shot 2019-06-26 at 4 18 52 PM

This proves to be a complex issue to handle, but we are working on it! Stay tuned.

Thanks @kmelve, appreciate that. Good to hear you're still on it 馃憤

Was able to get around this in Chrome Beta by turning off the "Block third-party cookies" option in settings. Need to do this each time I want to login (since I don't plan on leaving it disabled for general browsing).

any news on this?

This doesn't happen for me anymore in the latest Safari 14 for macOS Big Sur. 馃コ

Skjermbilde 2020-09-08 kl  16 12 00

But still happens for apps (here Panic's Nova editor) using WKWebView.

Skjermbilde 2020-09-08 kl  16 08 19

Was this page helpful?
0 / 5 - 0 ratings