Issue with adding Sanity integration into Vercel, JS not loading, workaround provided.
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 ?
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?