Can't get Kinde nextjs working in Cloudflare worker
I'm trying to integrate Kinde into my opennextjs app. In local development everything is great. I can authenticate, and use permissions to selectively grant access to pages. It's super cool.
In my dev deployment using opennextjs to a Cloudflare worker, however, it doesn't work at all. After logging in I either get one of these two errors:
Anyone have tips on how to troubleshoot what is wrong here? I assume it is a config/environment variable/mismatch somewhere, but I can't for the life of me see it.