Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
[x] I have searched budibase discussions and github issues to check if my issue already exists
Hosting
Self
Method: docker compose
Budibase Version: 2.29.11
Describe the bug
Third party S3 services are not supported due to CORS configuration.
To Reproduce
Steps to reproduce the behavior:
Create an Amazon S3 datasource and configure the endpoint to a third party url. (e.g. Wasabi, Backblaze)
Try to upload files onto the datasource
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.
Checklist
Hosting
Describe the bug Third party S3 services are not supported due to CORS configuration.
To Reproduce Steps to reproduce the behavior:
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 tohosting/proxy/nginx.prod.conf
before the proxy starts.