How I can reuse session from SSR because in client side I can not access to cookie. Can someone guide me for best practice, Thank you! I use server action to login and create session cookie const session = await login(email, password)
if (session) {
cookies().set(SESSION_COOKIE, session.secret, {
path: '/',
httpOnly: true,
sameSite: 'lax',
secure: true,
})
and I want to use createJWT on client side to pass to my backend and use it for backend API calls
Recommended threads
- No such bucket 1.6 self hosted
Hey, I swapped my Appwrite 1.6 to use backblaze storage, and whenever I try to create a new file inside a bucket I'm getting ```html Error uploading file blo...
- SMS provider set in selfhost
I an using this https://semaphore.co/docs my Question is that is it possible to integrate this on appwrite selfhost in their environment variable? Or appwrite o...
- apple auth display
hey, I try to do my auth with apple but when I click on apple in the settings a blurred background gets but does not display a menu