-
Notifications
You must be signed in to change notification settings - Fork 830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://next-auth.js.org/errors#oauth_callback_handler_error Cannot set property error of #427
Comments
same issue |
It's easy to fix Don't use Local Postgres just use Vercel Postgres database |
Yeah same resolution here. Error message can be improved here |
Same error here, but Vercel Postgres is not available at vercel.com, can someone help me? |
use neon postgres, error still goes away, but this is annoying |
?sslmode=require at the end of the db url may be the difference. I haven't tested this yet but its the only thing different that I can tell from the db connection. |
I'm getting this error when i run fresh install
Query: select "accounts"."userId", "accounts"."type", "accounts"."provider", "accounts"."providerAccountId", "accounts"."refresh_token", "accounts"."refresh_token_expires_in", "accounts"."access_token", "accounts"."expires_at", "accounts"."token_type", "accounts"."scope", "accounts"."id_token", "accounts"."session_state", "accounts"."oauth_token_secret", "accounts"."oauth_token", "users"."id", "users"."name", "users"."username", "users"."gh_username", "users"."email", "users"."emailVerified", "users"."image", "users"."createdAt", "users"."updatedAt" from "accounts" inner join "users" on "accounts"."userId" = "users"."id" where ("accounts"."provider" = $1 and "accounts"."providerAccountId" = $2) -- params: ["github", "10389192"] [next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR] https://next-auth.js.org/errors#oauth_callback_handler_error Cannot set property error of #<ErrorEvent> which has only a getter { message: 'Cannot set property error of #<ErrorEvent> which has only a getter', stack: 'TypeError: Cannot set property error of #<ErrorEvent> which has only a getter\n' + ' at formatError (webpack-internal:///(rsc)/./node_modules/.pnpm/next-auth@4.24.7_next@14.0.2_react-dom@18.3.1_react@18.3.1/node_modules/next-auth/utils/logger.js:42:17)\n' + ' at Object.error (webpack-internal:///(rsc)/./node_modules/.pnpm/next-auth@4.24.7_next@14.0.2_react-dom@18.3.1_react@18.3.1/node_modules/next-auth/utils/logger.js:52:20)\n' + ' at _callee2$ (webpack-internal:///(rsc)/./node_modules/.pnpm/next-auth@4.24.7_next@14.0.2_react-dom@18.3.1_react@18.3.1/node_modules/next-auth/core/errors.js:307:36)\n' + ' at tryCatch (webpack-internal:///(rsc)/./node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:36:24)\n' + ' at Generator.eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:123:25)\n' + ' at Generator.eval [as throw] (webpack-internal:///(rsc)/./node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:64:29)\n' + ' at asyncGeneratorStep (webpack-internal:///(rsc)/./node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:4:21)\n' + ' at _throw (webpack-internal:///(rsc)/./node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:17)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)', name: 'TypeError' }
The text was updated successfully, but these errors were encountered: