[SOLVED]: Disabling services for client SDK's also disables the services for `node-appwrite`
- 0
- Self Hosted
- Auth
- Cloud
Hey, is this behaviour correct? when disabling services for client SDK's it also disables the services for node-appwrite?
in the settings description says this:
Choose services you wish to enable or disable for the client API. When disabled, the services are not accessible to client SDKs but remain accessible to server SDKs.
thanks in advance
When disabling services for client SDK's it also disables the services for node-appwrite?
- Nope, services stay accessible to server sdks.
node-appwriteis a server side sdk.
so it's disabling it.. let me check the error
ACCOUNT ERROR: The requested service is disabled. You can enable the service from the Appwrite console.
Did you do .setKey on the Client?
yes,
but then I use the session like so
so it respects the permissions and not act like super admin
afaik, session falls on the client side.
it should work if you only use setKey.
can you check if it works with only Key.
ok I get it now. It disables the session with appwrite web sdk
yes the key works as I can loggin and set the cookie but the server kicks me out coz the middleware is using the session
Use appwrite for client side.
from the description I understood that it disables access thru the web sdk but the keeps the server side even with session.
can't do that. project requirements states the backend should be not accessible from the web
but that's fine, the workaround is just enable them for now as the url is never visible to the client
Thanks for the clarification π
no worries.
Pl. mark the title as [SOLVED] if the issue is resolved.
Happy Appwriting :appwritecheers:.
[SOLVED]: Disabling services for client SDK's also disables the services for node-appwrite
Recommended threads
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...