BakaPresidentOriginal post
Web Developer
Hi guys, can i check if i'm planning to use middleware.ts i'm supposed to use node-appwrite right? I'm using just the appwrite one and it doesn't seem to work.
Keeps saying i'm not authenticated while i already am
Summary
Developers are experiencing authentication issues when using middleware in NextJS with the 'appwrite' library instead of 'node-appwrite'. It is recommended to use 'node-appwrite' for authentication in middleware.ts.