I can see in permissions that I can select - role, user id, team, but there is no option for particular JWT token. Is it possible to restrict executing appwrite function by particular jwt token ? I can think about checking req params and return 500 if req param doesn't have proper JWT token, but maybe there is a better solution ?
Hey there 👋 JWT token is short-lived "secret" that can be used to impersonate a specific client on the server. When you want to allow specific JWT to execute a function, you simply allow it to specific user. Every JWT token that this user generated will then be allowed to execute it - but no other user.
Perfect solution. Thank you !
[SOLVED] Call appwrite function using jwt token
Could you please send me any example.
Recommended threads
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Python Function not working
I am getting this issue as well. Doesnt look like there was a solution as you guys were not able to replicate. Below is my code as well as the error. I started...