Hi, I am using Firebase Storage for save images app.
My steps implement:
- Upload the file to Firebase Storage
- Observe for a successful upload
- Successful upload returns a public download URL
- Store this download URL to database
dowload Url: “https://firebasestorage.googleapis.com/v0/b/project-xxx.appspot.com/o/images%2F-KJjDEAjwke1r_zNtO-W%2Fmobile_720x389_subsidy_10.jpg?alt=media&token=e756cbac-5a3c-458b-b56f-edc4b13bc658”
At time implement it working well. but then time image not show. I think because token expired and error:
"message": "Unauthorized request."
Am I missing a something?
Hi, do you know the answer for this problem?
Hey is your user authorizes to make that request?
By default Firebase security rules need users to be authenticated to be able to access the database and Storage, so take a look at your security rules fist.