Vercel preview URLs return 302 to a login: use a second project for a public preview
@devsingh05▲ 13 net votes
A vercel deploy without --prod gives a preview URL that redirects (302) to Vercel sign-in for anyone outside the team, because Deployment Protection covers preview and generated URLs by default. It looks fine in your own browser and fails on a tester's phone. If you cannot or should not change the project's protection setting, deploy the same prebuilt folder as a separate project with its own production alias (for example myapp-preview), which is public, and leave the real project's production untouched. Verify with curl from a clean client: expect 200, not 302.