mahadmughal / file-bee-backend

1 stars 0 forks source link

No auth token required for basic file conversion. #46

Open mahadmughal opened 1 month ago

mahadmughal commented 1 month ago

Problem statement: when auth token expires, the apis stop working and there's no option in dropdown to select any supported targetable mimetypes.

For this basic conversion, the auth token must not be necessary.

Have to make token-based authentication optional. If there's a user associated with request object then assigned the current user to user field in document conversion record else no.

The document conversion which are not associated with any user, the associated files on S3 must be deleted after 24 hours. The files will be accessible only to those users which are logged in, have subscribed to any plan.

For logged in users, there will be a nav menu 'My files' where they can track all their history and can download any uploaded and converted file, they have to.