
Hello, i am trying to make a secure login system to my website. I have completed Login and Signup so the user get saved to Auth page and Database. I am trying to secure some of my pages so you want access it without being logged in. I also want to make it so if the user is loggedin and trying to go to login or signin page he gets dedirectet to home page. I have made 2 maps, one Auth and one Root and wounder if there is any way to secure the folder and all the pages in it? What is the easiest way to make it work?
Thanks for the help, i am new to NextJS
Recommended threads
- Can't Login to Cloud Account
Dear <@870607367597850624> I used one of my Email account (hassanmrwt@gmail.com) for Cloud but that is not in my access now. System is prompting me to verify E...
- 500 Server Error after migrating to 1.8....
Upgraded as per docs and ran migration. Everything went smoothly. I am able to log into the appwrite console however cant access any service i.e., auth, databas...
- Console not showing Site screenshot
Image link broken for self-hosted 1.8.0 (updated from 1.7.4), was working fine in older Console version (6.0.43, updated to 7.4.10).
