context7 icon indicating copy to clipboard operation
context7 copied to clipboard

OAuth Registration Fails - Project Creation Error After GitHub/Google Login

Open malewicz1337 opened this issue 1 year ago • 3 comments

After successfully registering with OAuth providers (GitHub and Google), the application fails to create the user's personal project and becomes stuck in an error state. The error persists even after clearing application data or reopening the browser.

Steps to Reproduce:

  1. Navigate to Context7 registration page
  2. Click "Sign up with GitHub" (or Google)
  3. Complete OAuth authentication
  4. Get redirected to dashboard
  5. Error appears and dashboard is unusable

Console errors:

POST https://vvaeholjcdfxcbbbxwai.supabase.co/rest/v1/project_members 400 (Bad Request)

Failed to ensure personal project for existing user: {
  type: 'SERVER_ERROR', 
  message: 'Failed to create project owner', 
  statusCode: 500
}

Browser: Google Chrome OS: MacOS URL: https://context7.com/dashboard

malewicz1337 avatar Nov 13 '25 12:11 malewicz1337

investigating thanks for reaching out

enesgules avatar Nov 13 '25 15:11 enesgules

do you still encounter this error?

enesgules avatar Nov 13 '25 15:11 enesgules

No, everything works correctly now, thank you!

malewicz1337 avatar Nov 13 '25 18:11 malewicz1337