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
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...