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,
1. I have made the storage bucket 'Public'
2. 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));
But still getting error, Unhandled Exception: StorageException(message: Invalid Compact JWS, statusCode: 403, error: Unauthorized)
Has anyone faced the similar situation before. Appreciate any help.