Allow arbitrary subdomains in oauth with OSDK application

We have a client web application that uses the OSDK. We have set up oauth for a base domain, and that works. I am now trying to set up branch previews for PRs (using Cloudflare Pages), which serves each PR on a subdomain of the base domain. I can set up the in app redirect and CORS headers, however, in Foundry Developer Console, under OAuth and Scopes, I can only put in static redirect urls that are allowed.

Has anyone succeeded in setting up something like this? How did you get around this issue?