Getting Unauthenticated Error While uploading files to a public bucket
Hey! I'm developing an flutter application and using supabase storage buckets to store some images. These images are uploaded by authenticated users from the app.
To accommodate this,
Has anyone faced the similar situation before. Appreciate any help.
To accommodate this,
- I have made the storage bucket 'Public'
- I have added policy to allow writes from authenticated users. CREATE POLICY "allow unauthenticated users to profile" ON "storage"."objects" WITH CHECK ((bucket_id = 'profiles'::text));
Has anyone faced the similar situation before. Appreciate any help.