Next.js Discord

Discord Forum

deployment protection redirect count

Unanswered
Barbary Lion posted this in #help-forum
Open in Discord
Barbary LionOP
I have deployment protection enabled and protection bypass for automation enabled.
When I deploy from my CICD, the build always breaks as the cache becomes stale but the edge functions seem to go into a redirect loop requiring auth even when a user is authenticated with vercel. Do I need to expose my bypass secret to the client? I have refered to https://vercel.com/docs/security/deployment-protection/methods-to-bypass-deployment-protection/protection-bypass-automation and https://vercel.com/docs/security/deployment-protection/methods-to-protect-deployments/vercel-authentication. Any input would be greatly appreciated as at this point it seems we are working against the system just to protect our deployments from premature access.

0 Replies