Skip to content
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

🚀 Enhancement: Introduce a way to use the user session without relying on client services in server sdks. #8294

Open
2 tasks done
Babylon1999 opened this issue Jun 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Babylon1999
Copy link

🔖 Enhancement description

I was asked to post this as a feature request in Discord.

At the moment, when I try to disable the client services from my Appwrite Cloud dashboard, I can no longer perform tasks as a user using their session cookie.

The whole reason for going with a server SDK is to have more control over what comes in and out of my Appwrite instance. If I'm going to have the client side open regardless, then what's the point of server SDKs? I'm specifically referring to the Account service.

🎤 Pitch

If the client side sdk needs to be active regardless, then all the logic I made in my server side to create a user for example is useless, because someone can create a user using the REST API with the project ID only.

I'm not really sure what the best way to approach this is, as I'm not very familiar with Appwrite or Node.js. However, I suggest introducing a way to use the user session in server SDKs without relying on the client SDK.

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

@Babylon1999 Babylon1999 added the enhancement New feature or request label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant