NextJS App Router Error out in middleware
Hello,
I've been working on implementing Kinde Auth within the Next.js app router using middleware. However, I encountered an error after logging in.
Code -
Additionally, I have a backend server where I aim to authenticate requests originating from the client-side Next.js application. Do I need to register a new application on the dashboard? Also, is there a method to authenticate these requests on the server? (The server is written in Nest.js.)
I've been working on implementing Kinde Auth within the Next.js app router using middleware. However, I encountered an error after logging in.
Code -
Additionally, I have a backend server where I aim to authenticate requests originating from the client-side Next.js application. Do I need to register a new application on the dashboard? Also, is there a method to authenticate these requests on the server? (The server is written in Nest.js.)
