so I'm having issues reading a FIRUser photoURL which I set when the image is uploaded to firebase storage. Writing to firebase storage is no problem, however, when I try reading the image I always get a 403 error.
Here are my rules for storage:
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}
The user is already signed in when I try downloading the image using a URLSession.
Any idea on why it wouldn't work?
question from:
https://stackoverflow.com/questions/65893868/able-to-write-to-firebase-storage-but-not-read 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…