Unlock seamless workflows and faster delivery with our latest releases- get the details

Issue with adding Sanity integration into Vercel, JS not loading, workaround provided.

19 replies
Last updated: Aug 10, 2023
Hey folks - having issues adding the Sanity integration into Vercel, when trying to login the page isn't interactable, looks like the JS isn't loading. Is this a known issue, and if so is there a workaround available at the moment? Will post the console output in thread:
Aug 10, 2023, 3:57 PM
do you have the vercel url added to your cors settings in sanity.io ?
Aug 10, 2023, 4:02 PM
I deploy our studio to vercel with no issues.
Aug 10, 2023, 4:02 PM
you need to insert
<http://sanity-studio.vercel.app|sanity-studio.vercel.app>
or whatever your domain is into the cors settings in sanity.io for it to work.
Aug 10, 2023, 4:03 PM
I think you misunderstood - this is the authentication page to connect my sanity account to a Vercel project, I haven't set up any projects or deployments yet. Surely I don't have to set up CORS origins to connect my account?
Aug 10, 2023, 4:04 PM
This is at
<https://www.sanity.io/create/integrations/vercel/install?[...]>

Aug 10, 2023, 4:05 PM
how did you get to that resource?
Aug 10, 2023, 4:07 PM
Aug 10, 2023, 4:09 PM
I'm using this repo, same behaviour. During the deployment to Vercel it attempts to connect the integration, same as the above link.
Aug 10, 2023, 4:09 PM
For reference
Aug 10, 2023, 4:11 PM
user Y
not sure who to reach out to about this but this SSO looks borked https://share.cleanshot.com/f179yxvS
Aug 10, 2023, 4:12 PM
im also getting an error when trying to connect.
Aug 10, 2023, 4:12 PM
Thanks for the help triaging! I'll keep an eye out for updates.
Aug 10, 2023, 4:12 PM
those buttons for me are straight up disabled.
Aug 10, 2023, 4:13 PM
I am having the same issue as well.
Aug 10, 2023, 4:41 PM
This was reported earlier too and it definitely seems like something is up.
Aug 10, 2023, 5:07 PM
Yeah, the team has been made aware. Thanks for reporting!
Aug 10, 2023, 6:02 PM
Looks like it’s working again!
Aug 10, 2023, 7:12 PM
Our team has rolled out a fix so this should be resolved now. Thanks for your patience 🙏
Aug 10, 2023, 7:13 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?