Hello,
on appwrite 1.7.4, when I create a file token via the API Tokens(appwriteAdminClient)#createFileToken I get a secret, then when I check in the console there is another secret for the same file token. I am using expireAt ( 30 days ). The bucket has file security turned off. It was the same when I turned it on.
When reloading the page, the file token keeps changing, rendering the token unusable.
I don't understand how to use them ( I guess? ), can you please tell me what I am doing wrong. In the URL, I am parsing directly the secret I get from creating the token. I want to let users create a donwloadable file with an expiration date so they can share it further with friends.
Forgot the error:
{"message":"The current user is not authorized to perform the requested action.","code":401,"type":"user_unauthorized","version":"1.7.4"}
Recommended threads
- THE COLUMNS STUCK ON PROCESSING HOW DO I...
I HAVE SELF HOSTED THE APPWRITE ON VPS
- Update row sheet not loading
After right clicking a row header and click update, the sidebar fails to load (never-ending skeleton)
- Impossible to create project via CLI?
Is it possible to create a new project via the appwrite CLI ? I need to create a few projects for something I'm working on and because i don't want to do it man...