Skip to content
Back

#magic_url #auth #cookies #next_js #ssr

  • 0
  • Auth
  • Web
varghesetony901
27 Jan, 2025, 08:09

When using magic link authentication with appwrite in next js ssr. I'm not getting the session on redirection. The session works only on a hard refresh. Is there any workaround for this while using setting cookies as sameSite: "strict"

TL;DR
Developers are having issues with session not persisting after redirection when using magic link authentication with appwrite in Next.js SSR. Session works only after a hard refresh. Looking for a workaround while setting cookies as sameSite: "strict".
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more