
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
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
