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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...