FeatureFuel
6

CORS settings for Storage S3

Source: supabase/supabase#29430 · opened by @algi
I would like to be able to set allowed hosts for Storage S3 connector as I'm getting CORS error, when I create signed URLs from server.

More context

• I'm using Ruby on Rails web app with ActionText, that enables to upload attachments in rich text editor
• ActionText is using direct uploads from the browser, which means it creates a signed URL
• Supabase blocks the request on CORS headers from any host
• Normal request from server of course works via ActiveStorage, but that's not how ActionText works
• There's no way how to tell ActionText to go through server first without rewriting the library
• AWS S3 actually supports this, you can create your own CORS policy, so until this request is not implement, the only solution is to use AWS instead

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests