OAuth Diagnostics

Step 1: Environment Variables Check

Loading environment check...

Step 2: Manual Twitter OAuth Test

This bypasses NextAuth entirely to test if your Twitter app configuration is correct.

Common Issues & Solutions

"Bad request" Error:

  • Usually means NextAuth can't find required environment variables
  • Check that all environment variables are set in Vercel
  • Redeploy after adding environment variables

NextAuth v5 Beta Issues:

  • NextAuth v5 is still in beta and may have compatibility issues
  • Try the manual OAuth test to isolate the problem
  • Consider downgrading to NextAuth v4 if issues persist