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
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- functions domain error
I cannot set up the domain for function I’m trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...