Multiple Nextjs middlewares: Supabase Auth with Nosecone #32877
Unanswered
chadwhitaker
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the exact Supabase Auth middleware provided in the guide.
I would like to implement the Nosecone middleware to set the appropriate security headers in my app.
What is the correct way to implement Nosecone without affecting the Supabase middleware? Ideally, the Nosecone middleware should be implemented in the main middleware file, separate from the Supabase middleware file.
./middleware.ts
./utils/supabase/middleware.ts
Beta Was this translation helpful? Give feedback.
All reactions