Middleware Compatibility Issue with Node.js Runtime #2961
Unanswered
HarshitKmr10
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm currently using Auth.js for authentication and leveraging the middleware for protected routes. However, my authorization function utilizes the Hono Node.js adapter. The issue I'm encountering is that the middleware does not support the Node.js runtime, resulting in multiple errors such as "global is not defined".
Has anyone faced a similar problem or found a solution to this compatibility issue? Any guidance or fixes would be greatly appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions