
Hi all, not a question but just want to share my experience. I followed the SSR OAuth tutorial on here: https://appwrite.io/docs/tutorials/sveltekit-ssr-auth/step-7
However, when setting cookies; I had to use sameSite: "lax"
to make it work upon redirect. Otherwise, if using sameSite: "strict
, when return from Google/Github etc, the hooks.server.js
called with no user
in locals
, but have to manual refresh to make it work to call createSessionClient
.
So if anyone following that tutorial and wondering why on return to /account
, it doesn't show any user details or locals.user
is empty, or return 401
, then change sameSite: "strict"
to sameSite: "lax"
.
At the same time, if I'm doing something wrong here, let me know!
Recommended threads
- Flutter native Google Sign Up with googl...
Hey I want to use the native login instead of the WebView. Do you have any experience on that and has Appwrite to plan this support?
- Do I need Redis if using appwrite
Saw appwrite has built-in redis, but does this work for listdocuments, getdocument and other query etc? what does the appwrite redis covers under the hood?
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
