Hi everyone,
I’m developing a .NET client app using Appwrite and encountered issues with dynamic service instances. Specifically:
Dynamic Service Problem:
Logging in a user with one service instance and performing a subsequent operation (e.g., updating the user name) with a new instance fails. Keeping a single service instance for both operations works fine. Postman Behavior:
Requests fail in Postman due to missing scopes, but work in my app using AppWriteService. This suggests the Client stores something (e.g., session info) that enables these operations. Questions What exactly does Client retain after login that allows subsequent requests? How should I handle authentication flow in Appwrite? What’s returned by CreateEmailPasswordSession (session, token, or both)? When should I use JWT vs session-based authentication? Is it recommended to use a single service instance for all operations, or is there a way to make dynamic instances work? Thanks in advance!
Recommended threads
- Firebase app import
I'm **very** new to appwrite and I just set up appwrite with docker and I'm trying to import a Firebase app I have set up but it's erroring and I don't really k...
- Auth Issue (maybe?)
Hi there, I'm relatively new to programming and am following a tutorial on youtube just to get an idea of how this all is suppossed to work. Now Im setting up t...
- Hi, I'm getting this error while deployi...
✗ Error • search (6937cb70002c2e9c1a97) • Fai ✗ Error: Deployment of search has failed. Check at https://cloud.appwrite.io/console/project-693...