Replies: 1 comment
-
Maybe you can use this. https://github.com/honojs/hono/tree/main/src%2Fmiddleware%2Fcontext-storage |
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
-
Hello everyone,
In my Next.js project, I use Hono for the API part and @hono/auth-js for authentication.
Now, I want to block certain pages in the Next.js middleware when the user is not logged in. Unfortunately, at this point, I don't have access to the Hono context.
Could someone help me solve this issue?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions