You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supabase has a package called auth helpers for receiving auth state on the server using cookies. Having a similar package for Appwrite would make it much easier to work with SSR.
🎤 Pitch
Currently, the solution is to setup Appwrite as a subdomain of the website and declare an endpoint for receiving cookies. That’s a lot of manual setup and this approach doesn’t even work with OAuth providers as far as I understand. Using JWTs is not ideal because they last only for 15 mins, and the initial page load is blank until the client is authenticated.
👀 Have you spent some time to check if this issue has been raised before?
🔖 Feature description
Supabase has a package called auth helpers for receiving auth state on the server using cookies. Having a similar package for Appwrite would make it much easier to work with SSR.
🎤 Pitch
Currently, the solution is to setup Appwrite as a subdomain of the website and declare an endpoint for receiving cookies. That’s a lot of manual setup and this approach doesn’t even work with OAuth providers as far as I understand. Using JWTs is not ideal because they last only for 15 mins, and the initial page load is blank until the client is authenticated.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: