matt
matt
Explore posts from servers
TTCTheo's Typesafe Cult
Created by matt on 9/3/2024 in #questions
NextAuth v4 auth timing out when deployed to Vercel, but works locally
I've been having an issue the past 4 hours trying to figure out why exactly my app works locally with Discord OAuth, but when deploying to vercel, it times out. It seems like im getting a 200 when hitting discords authorize API: https://discord.com/api/v9/oauth2/authorize After I get a 200, it spins on Discords OAuth, because it can't redirect to my apps path: /api/auth/callback/discord?code={code_here} Any help is greatly appreciated as I really can't figure out what's going on!
13 replies