
Hi @Meldiron ,
I would like to limit access to specific pages, without loading the content of the pages before checking user's permissions. As I am new to NextJS I am wondering if middleware is the way to do it. But what I read let me think it is.
So to begin with I tried to install the demo of https://next-js.ssr.almostapps.eu/, as you suggested in another thread.
But I ran into several issues.
1# - It looks like your demo page is running into a certificate issue (I let you check your browser console when you login and fetch client session).
2# - I dev on localhost, using appwrite cloud endpoint. It looks like the only 2 options here is to modify my hostname file OR selfhost appwrite.
Do you guys at AppWrite have any plan to add a "middleware" easy to use feature soon ? 🙂
Recommended threads
- Resource limit on the free plan
I'm currently building a health-focused tech project as part of a student initiative, and I’ve been using Appwrite extensively for backend services. As part o...
- search using appwrite
hi guys, i am building a web app and i got a collection that has like 500 documents, those documents are listed on a page and i got a search input, my question ...
- exclude password field from getDocument
i got a getDocument that lists data from the user (username, password, id.....) so my question is how do i exclude the password so it doesnt get listed out? m...
