Skip to content
Back

Middleware

  • 0
  • 1
  • Web
Saimon
16 Dec, 2025, 15:23

how to make middleware in nextjs appwrite with client side auth?

TL;DR
To set up middleware in your application, create a `middleware.ts` file. Since the exact code depends on your setup and app's context, check out this support post for a similar issue: https://appwrite.io/threads/1117650321141932072
17 Dec, 2025, 12:02

For this, you'll have to setup a few things (including a middleware.ts). I cannot give you the exact code without knowing your setup & app's context. But I've found a support post with this similar issue. See if that helps: https://appwrite.io/threads/1117650321141932072

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more