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
- Bug Report: type generation for enum of ...
### π Reproduction steps in the enum element value, instead of English, use another language (Khmer), in my case Khmer text. ``` export enum ProvinceType { ...
- Selfhosted 1.8.0 500 Server Error [Fresh...
Good evening, Currently running into issues with deploying 1.8.0 on a Dokploy instance I have. Prior to this we had 1.6.x running and it was fine. Tried to up...
- Invalid document structure: Unknown attr...
Hello. I have self hosted instance running on my server and has valid endpoint and most of things are working as should. Installation is fresh install of versio...