If you mean you want the browser/client side of one Next.js app to talk to the backend of different Next.js app, then the second app needs to accept traffic from the public and you shouldn't rely on deployment protection. When app A hands an OIDC token to its browser, the user of that browser will be able to extract this token and use it to bypass your deployment protection for all Trusted Sources.
The more secure approach is to make sure only your backends talk to each other. App A can authenticate with its own backend, which can getVercelOidcToken() and privately talk to the other one without ever exposing that token to the browser. This might seem inefficient, but the request time between the backends is usually inconsequential as they're likely just different machines in the same datacenter.
In general, if your frontends only ever make network requests to their own same-origin backends you can avoid huge categories of potential security risks. It allows you to make your auth cookies HttpOnly and SameSite, for example.