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
- does appwrite accept debit card as a pay...
does appwrite accept debit card as a payment method?
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...
- functions
Code for function not being created in Github. Permissions are set correctly, repository is created, however no code is in the created repository. Just trying...