We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
middleware.js
https://nextjs.org/docs/app/api-reference/file-conventions/middleware
It's probably straight-forward. But, I would expect actually integrating things like next-auth is harder.
next-auth
Probably the hard part is to implement NextResponse.next api?
NextResponse.next
Indeed, next-auth would need those https://github.com/nextauthjs/next-auth/blob/a3d3d4bab3e037a5359ed22de8b1fff0b5557523/packages/next-auth/src/lib/index.ts#L2-L3
import { headers } from "next/headers.js" import { NextResponse } from "next/server.js"
Also, our current flight data convention (path)__f.data might cause some trouble with this (cf. #374).
(path)__f.data
The text was updated successfully, but these errors were encountered:
Closed by #553
Sorry, something went wrong.
No branches or pull requests
https://nextjs.org/docs/app/api-reference/file-conventions/middleware
It's probably straight-forward. But, I would expect actually integrating things like
next-auth
is harder.Probably the hard part is to implement
NextResponse.next
api?Indeed,
next-auth
would need those https://github.com/nextauthjs/next-auth/blob/a3d3d4bab3e037a5359ed22de8b1fff0b5557523/packages/next-auth/src/lib/index.ts#L2-L3Also, our current flight data convention
(path)__f.data
might cause some trouble with this (cf. #374).The text was updated successfully, but these errors were encountered: