oAuth Proxy Validation Error

Whenever trying to log into my app weather I'm on my production URL or a branch/other Vercel URL I get a VALIDATION ERROR:

{
"code": "VALIDATION_ERROR",
"message": "[query.cookies] Invalid input: expected string, received undefined"
}


When on the production URL I can just go back to the app and I'm logged in but on the branch and other URLs I try this and im still logged out.

I am running the latest version of BetterAuth (1.4.7) and the latest version of Next (16.0.10)

This isn't happening in development.
Was this page helpful?