Issue with protection bypass for automation

I am using Protection Bypass Automation using query param.

Initial doc request succedeeds but all subsequeent resource request on page fails with 401

I am using next.js latest.

How do I fix this?

Having the same issue and trying to find out best practice to configure this.

Actually I just figured this out. We need to also pass the x-vercel-set-bypass-cookie=true query param @arpanpatel-6037