Displaying images from a private bucket. Do I need to use signed URL?

Hi, new here. I couldn't find a post related to this topic and having trouble finding any resources related to it online.

I have RLS set up on a private storage bucket that users can upload avatars to. Working great. My question is related to users viewing these avatars in app.

Is there a way without creating a signedUrl for the user to view the image? If I try to set the src of the image without any token in the url, the user is not able to access with an auth error.

I am able to get the image using the createSignedUrl method but I was just wondering if there is a way without generating a signedUrl everytime.
Was this page helpful?