Hello,
I just followed this tutorial https://appwrite.io/docs/tutorials/sveltekit-ssr-auth/step-1 and things work somewhat. If i am not authenticated and i visit /account i am redirected to /signup as expected. One item that doesn't behave as expected is when I navigate to the home page / while already authenticated I get redirected to /signup and not to /account. Is there something missing in the hooks.server.js file or maybe the file here src/routes/+page.server.js?
Thank you, Jon-Eric Cook
Recommended threads
- How to determine if a user is anonymous?
This is probably a silly question, but I have not yet found a good answer. Is there a method to determine if the current session is anonymous aside from seein...
- ACTIVATE DEPLOYMENT PROBLEM...
It's not giving me the option to activate a deployment that says it's ready..
- Anonymous Sessions using Node SDKs
I am attempting to use anonymous sessions with the Node SDK but I have simply no idea how to persist the session to a cookie, pass it to the session client, etc...