Prismic Preview URL needs to login first to Vercel

Hi, I've just discovered that the behavior of the Prismic shareable link has changed. Now, when someone accesses the shareable preview link, they need to log in to Vercel first—our hosting provider. This wasn't the case before.

I'm using NextJS 15 with the page router.

Hi @n.belandres,

I'll be happy to check this out :slight_smile:

I appreciate you sending this recording, can you record your issue with this Chrome plugin? It will give us the dev information needed to debug, and you can remove it once you’re done.

Thanks.

Hello @Phil

Here's the recording: Jam

I also raised this behavior in the Vercel community. They explained that since the preview URL uses "Draft Mode," Vercel authentication is now required. However, this wasn't the case previously—when sharing the preview link, users could see the preview page immediately without logging into Vercel.

Hi @Phil , were you able to check it? THanks

Hi Nash,

Sorry about the delay, I was out ill.

I believe there have been some changes with Next 15 and Vercel regarding draftMode(). Our team is aware of this and is working on supporting it.

You can follow this thread for updates on when it should be rolled out:

Thanks.

Hi @Phil , i think the fix they are mentioning in the linked article was already integrated (See screenshot below). I am using the latest version of prismic-next but still having the issue. This has been a critical issue for us as we need to share preview links to external parties that need to review things and does not have vercel account

Can you provide a zip or Github link to your project so I can test it on my side?