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
- Confusion around Tables / TablesDB vs Da...
Hello everyone, I ran into quite a bit of confusion when trying to migrate a Function from Databases.createDocument() to the new Tables / Rows API and wanted t...
- No permissions provided for action 'read...
I have a very weird error; In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows. The funct...
- Repository directory size should be less...
Whenever I create a function i get the error above. Is there a way to get around this? How do I fix this?