Closed julianklumpers closed 2 months ago
Hi, it should be able to handle this error correctly. Do you have "use server" at the top of the actions file? If so, can you possibly share a repro link.
Closing due to inactivity. Happy to reopen if it is still an issue.
Hi,
i'm using next-auth (v5) which support the app router and server actions. When creating a
createServerAction
in the handler, I am using thesignIn
function with theredirectTo
prop. When the sign in is successful, I get a redirect error. When using a "normal" server action it works fine.here is my code
The error in the console