App Router - next-auth route handler - How to access the Request BEFORE it is sent to NextAuth? #8662
Unanswered
simondpalmer
asked this question in
Help
Replies: 1 comment
-
I faced this issue sometime ago. For this case, i decided to rely on the pages router. It's not the best approach, but it worked for me. |
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
Using next.js App Router - How do I access the Request BEFORE it is sent to NextAuth? I want to be able to replicate the following which is achievable with the next.js Pages Router:
Additional information
For instance how can the following App Router - Route handler:
be adjusted to expose the Request similar to Pages Router like the following:
This is an extension to this issue
Originally posted by @balazsorban44 in #6792 (comment)
Beta Was this translation helpful? Give feedback.
All reactions