Replies: 2 comments
-
Hi @Meguais ,
|
Beta Was this translation helpful? Give feedback.
0 replies
-
in route.ts const handler = NextAuth(options) export { handler as GET, handler as POST } and options.ts keep your rest of the code because you shouldn't export authOptions in API route.ts / route.js file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hello, my English is bad, I hope I was able to explain, I get such an error, I could not solve it, could you help me?
this is my code
Beta Was this translation helpful? Give feedback.
All reactions