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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...