Skip to content

403 on storage request #565

Description

@steveoh

Version info

React: 18.2.0

Firebase: 9.15.0

ReactFire: 4.2.2

Other (e.g. Node, browser, operating system) (if applicable): chrome

Test case

Steps to reproduce

  1. Upload a file to storage using useStorageTask
  2. show that image with a
  3. Remove that image with a deleteObject request.
  4. Upload a different image with the same name to the same path
  5. reactfire requests the file with the wrong access token and the request fails

Expected behavior

The correct token is used to display the image from storage

Actual behavior

An old token is used and the request fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions