
My flutter app makes API requests to my NodeJS backend. Now I dont want everyone with the url to make requests to the endpoint. So, i'm creating a JWT token for the signed in user on the app and then sending it in the header. Need help about how to verify it on the server side. Thanks

Hi, please see here once https://appwrite.io/docs/authentication-server

I went through the documentation but didn't actually get it. Need help.

You have to create a new Client from appwrite and then set appwrite endpoint, appwrite projekt id and that JWT. With JWT then the Client on the server will act like a user (server will be able to do things that the user can do according to permissins)
Recommended threads
- deleteDocument shows The current user is...
my application is an ecomm app that list the products and i just want to add the delete functionality to delete the product the user has permission in appwrite...
- running the run() function with the maxT...
export default async function run( executor: IExecutor, queue: AsyncIterable<ITask>, maxThreads = 0 ) { maxThreads = Math.max(0, maxThreads); const A...
- File preview issue- "message": "Image tr...
Hi everyone 👋 I’m using Appwrite on the Free Plan. When I try to display images using getFilePreview() from the Storage API, I get this error: "message": "I...
