Replies: 1 comment 1 reply
-
This message is generated by However, I think it is probably caused by the adapter ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My question is that is Credential authorize method run on edge mode that this happens?
I try to get user from db in
authorize
function in Credentials provider and I get this error. I know this comes from knex and i tried to useauthjs-knexjs-adapter
(https://github.com/travishorn/authjs-knexjs-adapter) package for adapter (I want to use MySQL db).But i want to understand why I get this error? Does it mean that authorize function is ran on the edge? Or I can somehow still query the db in authorize function?
My
auth.config.ts
My
getUserByEmail.ts
My
db.ts
My
auth.ts
My
route.ts
Beta Was this translation helpful? Give feedback.
All reactions