Hi, i make app with appwrite and i have logging via my node.js server. Always when i log into my account server returns me tokens into cookies and one token into my localstorage. But when i have that token in localstorage it does not work with appwrite => user is not loged in. On the picture you can see what does the token in localstorage look like. Do i have to have a different format of that?
Hey, If you have your own auth flow, please ensure to set the session secret as header when initializing client SDK (or server SDK). example: https://github.com/Meldiron/appwrite-ssr-svelte-kit/blob/main/src/lib/AppwriteService.ts#L25-L29
Thank you very much
Recommended threads
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...