Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
21.27k stars 1.44k forks source link

Third party S3 services not supported #14107

Open hahagu opened 5 days ago

hahagu commented 5 days ago

Checklist

Hosting

Describe the bug Third party S3 services are not supported due to CORS configuration.

To Reproduce Steps to reproduce the behavior:

  1. Create an Amazon S3 datasource and configure the endpoint to a third party url. (e.g. Wasabi, Backblaze)
  2. Try to upload files onto the datasource
  3. Does not work, and browser console shows CORS policy error

Expected behavior The upload should work as expected.

Additional context It would be helpful to have the CORS policy disabled or configurable via environmental variables. Something like a space separated environment variable like such: ADDITIONAL_CORS = https://*.s3.wasabisys.com https://s3.*.backblazeb2.com could be implemented rather simply by appending it to hosting/proxy/nginx.prod.conf before the proxy starts.

linear[bot] commented 5 days ago

BUDI-8423 Third party S3 services not supported