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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...