
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
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- How do I pair Polar.sh + Hono + Appwrite...
This is what all it required by polar to see the webhook data. Managing with webhook data is not an issue, but how do I pair this all with appwrite functions st...
- The function became slower after being e...
I used the Python SDK and set `xasync=True` in `create_execution`, expecting it to execute quickly on another worker. However, the execution ended up taking sev...
