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
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.
Comments
Similar requests
Allow Access-Control-Allow-Origin (CORS) policy to be set via dashboard
3 votes · 0 comments
Login Issue: CORS Policy & Preflight Redirect Error on auth.supabase.io
2 votes · 0 comments
Add Storage Adapter For Chrome.Local.Storage Api
3 votes · 0 comments
Add Storage Backups in Sync with Database Backups
4 votes · 0 comments
# Proposal: Virtual Storage Columns (Seamless DB-to-Storage Mapping)
1 vote · 0 comments
No comments yet.