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
- Error: Trying to install appwrite on sub...
``` [Error] Method: POST appwrite | [Error] URL: /v1/account appwrite | [Error] Type: Appwrite\Extend\Exce...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- JavaScript heap out of memory during bui...
I am running into heap out of memory when I am trying to build an Appwrite site. Usually this can be fixed by modifying the `max-old-space-size` configuration, ...