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
- Dotnet functions on cloud
I'm trying to deploy my .Net8 functions to my project on cloud.appwrite through the CLI. I'm getting this error.
- All projects deleted
Hello, from the appwrite console last week I re-activated some of my old project and published them, yesterday I checked and none of the apps were working, now ...
- My account got banned without obvious re...
Hello, I’m a normal user of Appwrite. Today I found my account was banned suddenly, and I can’t log in normally. I have only been doing normal development and...