8000 🚀 Feature: Auth Helpers for SSR · Issue #5607 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🚀 Feature: Auth Helpers for SSR #5607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
abdel-17 opened this issue May 30, 2023 · 0 comments
Closed
2 tasks done

🚀 Feature: Auth Helpers for SSR #5607

abdel-17 opened this issue May 30, 2023 · 0 comments

Comments

@abdel-17
Copy link

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0