You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Now we have to patch it in our project with a custom version of it:
Which is not very maintainable.
Non-Goals
No response
Background
In the documentation there is this example for protecting API routes in Nextjs in which the
req
parameter has the type/interface ofNextAuthRequest
.Although that example is a JS example and not a TS example it still makes sense to expose it.
Proposal
It would be better if this package would expose it like:
Beta Was this translation helpful? Give feedback.
All reactions