👀 Our most exciting product launch yet 🚀 Join us May 8th for Sanity Connect

JavaScript Mastery Video - Login Loop on Brave Browser

7 replies
Last updated: Feb 18, 2022
Hello, I am trying to do JavaScript Mastery's video and when I "sanity start" I go to the local host link, log in and then I get sent back to the /desk url to log in again. It's just a never ending loop. I tried opening it with a different user or even a private window but it's still the same. Any suggestions?
Feb 18, 2022, 5:11 PM
there's nothing on blocked, everything is on allowed. I can send a screenshot
Feb 18, 2022, 6:03 PM
Thanks for the answer btw
Feb 18, 2022, 6:04 PM
I am also getting the ''connected to dev server'' notification
Feb 18, 2022, 6:05 PM
ah yep, I thought you might be using brave. I know some teammates use it for studio projects and hadn’t tried adjusting this for myself. Thanks for the excuse!
Go settings and search for ‘cookies’. Add your studio url (in development locally it will be
http://localhost:3333 . And for me, since I’m using google oauth for my account, I am allowing 3rd party cookies. Again, you will want to do this again for the new url if you deploy your studio and use this browser:
This fixed it for my dev environment in brave:
Feb 18, 2022, 7:06 PM
You’re welcome to tinker with this settings if you really want to lock down your brave browser’s cookies settings. But you will need to at least allow cookies for your studio url, localhost or hosted on some other url.
Feb 18, 2022, 7:07 PM
perfect, will try that out in a moment. Thank you very much Julia!
Feb 18, 2022, 7:15 PM
aah yes, it worked perfectly! Thanks!
Feb 18, 2022, 7:49 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?