Can't log into Studio URL despite being logged into sanity.io/manage

4 replies
Last updated: Jul 5, 2023
Hello! I am logged into www.sanity.io/manage but when I try to go to my studio URL, I can't log in and can't do a password restore. What can I do?
AI Update

I can see you're able to log into www.sanity.io/manage but having trouble accessing your Studio. Let me help you troubleshoot this.

First, verify your CORS settings

The most common cause of Studio login issues is missing or incorrect CORS (Cross-Origin Resource Sharing) configuration. Here's how to check:

  1. Go to manage.sanity.io (where you're already logged in)
  2. Select your project
  3. Navigate to Settings → API → CORS Origins
  4. Make sure your Studio URL is listed there (e.g., https://your-project.sanity.studio or your custom domain)
  5. Important: Check the "Allow credentials" checkbox for that origin

Without proper CORS configuration, your Studio won't be able to authenticate you even though you're logged into Sanity's main platform. The "Allow credentials" setting is particularly crucial for authentication to work properly.

Why password reset doesn't help

Password reset won't solve this issue because you're already successfully logged into manage.sanity.io. This isn't a password problem—it's about your Studio being unable to verify your existing authentication.

Other things to check

Clear your browser cache and cookies for both sanity.io and your Studio domain. Sometimes stale authentication data can cause login loops.

Try a different browser or incognito/private mode to rule out browser extensions or cached data interfering with authentication.

Verify your Studio URL is correct. If you're using Sanity's hosted Studio (deployed with sanity deploy), it should be at https://your-project-name.sanity.studio. You can find the correct URL in your project settings at manage.sanity.io.

Check if your Studio is deployed. If you're trying to access a locally running Studio at localhost:3333, make sure you've actually started it with npm run dev or sanity dev in your project directory.

Managing your account

If you need to manage login methods or account settings (like adding email/password authentication alongside GitHub or Google), you can do that at accounts.sanity.io, but again, this won't resolve the Studio access issue if CORS is the problem.

The CORS configuration is the first thing to check—it's the most frequent cause of this exact scenario where manage.sanity.io works but Studio access fails.

Show original thread
4 replies
user A
Since I see you answering questions today: any advice? We're locked out of studio (both I and the other team member). Is there anything we can do?
Hey Felix! I might be able to help you out, too. Can you please DM me your Project ID, and email address?
Thanks, will do!
Okay, we were able to troubleshoot this issue, and solve the problem! It’s in the best interest of the community to share solutions publicly, but also obvious ensure that PII remains private.
In this case, the cause of the issue is related to the way that older (v2) studios authenticate users with cookies, and it was specific to Firefox. There are two workarounds:

• Try to login using a Chromium browser like Chrome or Arc
• Disable Enhanced Tracking Protection in Firefox
This particular issue should only affect v2 studios.




Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?