trypear / pear-landing-page

Landing page for PearAI, the Open Source AI-Powered Code Editor
https://trypear.ai
52 stars 77 forks source link

BUG: Some OAuth sign-in attempts fail #39

Closed Ellahinator closed 3 months ago

Ellahinator commented 3 months ago

Error:

⨯ AuthApiError: invalid request: both auth code and code verifier should be non-empty
  at handleError (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js:74:11)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async _handleRequest (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js:117:9)
  at async _request (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js:99:18)
  at async SupabaseAuthClient._exchangeCodeForSession (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/GoTrueClient.js:420:33)
  at async eval (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/GoTrueClient.js:741:28) {
__isAuthError: true,
status: 400,
code: 'validation_failed'

To reproduce, continuously sign in until you get this error. It should take a few attempts.

Related:

somwrks commented 3 months ago

can look into this

Ellahinator commented 3 months ago

Fixed