I have my backend which exposes some endpoints let's say
/feed (return a hard coded json as response)
I want this to be only accessible to users who are currently logged in to my React Native frontend using the SDK and sessions (not JWT)
the endpoint is publicly open but I want to check if the request is coming from the authenticated user or not. If not then I will return 401
Wherever I looked, I only found the JWT solution which I don't want to use because it seems like one more thing to keep track of in my application.
Is it possible I can do this without JWT?
To be precise I want to check if the session of the user is valid or not.
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!