anyone trying out the new beta release of next-aut...
# orm-help
a
anyone trying out the new beta release of next-auth with prisma? where the prisma model itself is altered a bit? I am using it with GitHub at the moment I was having success initially but now am getting this error
Copy code
[next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR] 
<https://next-auth.js.org/errors#oauth_callback_handler_error> getUserByAccount is not a function {
  message: 'getUserByAccount is not a function',
  stack: 'TypeError: getUserByAccount is not a function\n' +
    '    at Object.callback (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/.next/server/pages/api/auth/[...nextauth].js:2583:39)\n' +
    '    at runMicrotasks (<anonymous>)\n' +
    '    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
    '    at async NextAuthHandler (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/.next/server/pages/api/auth/[...nextauth].js:832:18)\n' +
    '    at async Object.apiResolver (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/node_modules/next/dist/server/api-utils.js:101:9)\n' +
    '    at async DevServer.handleApiRequest (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/node_modules/next/dist/server/next-server.js:770:9)\n' +
    '    at async Object.fn (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/node_modules/next/dist/server/next-server.js:661:37)\n' +
    '    at async Router.execute (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/node_modules/next/dist/server/router.js:205:32)\n' +
    '    at async DevServer.run (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/node_modules/next/dist/server/next-server.js:841:29)\n' +
    '    at async DevServer.run (/home/dopaminedriven/prisma-nexus-next-ts/cortina-crm/cortina-tracking/node_modules/next/dist/server/dev/next-dev-server.js:355:20)',
  name: 'TypeError'
}
that's after the oauth callback logs all of my github info to the console in json format correctly...