Hello!
I've some problems using this lib with next 13 using app router. The usage mode described in README.md, doesn't work properly. I tried use as API Route and Route Handler but don't work as well.
Examples:
API routes

In this way i receive 404 page.
Route Handlers

In this way i receive this error:
auth host=undefined
- error TypeError: res.writeHead is not a function
I'm not sure if is correct pass NextResponse
What I'm doing wrong?
Thanks.
Hello!
I've some problems using this lib with next 13 using app router. The usage mode described in README.md, doesn't work properly. I tried use as API Route and Route Handler but don't work as well.
Examples:
API routes
In this way i receive 404 page.
Route Handlers
In this way i receive this error:
I'm not sure if is correct pass NextResponse
What I'm doing wrong?
Thanks.