OAuth providers on vercel preview deployments with NextAuth

When vercel creates new subdomans for PR deployments, those domains aren't valid for my OAuth providers so I can't login. Has anyone got around this issue? I remember Theo saying Clerk solved this, but I'm using nextauth for this project and don't want to switch my auth provider for something like this.
2 Replies
George
George12mo ago
I am running into the same issue, did u end up finding a fix for this?
ott
ott12mo ago
I didn't end up trying, but if you go to the create t3 turbo monorepo, they have some app called auth-proxy that prob solves this issue
Want results from more Discord servers?
Add your server