Get clean URL from firebase storage (without token)

Viewed 2553

I'm developing a project where I need to send images url to Shopify admin API, the problem I'm having is that shopify doesn't recognize the URL as valid because of the trailing parameters

image.jpg?alt=media&token=9dab5705-351c-44f2-81a6-fc1b4b6eaf56

My question is:

  1. Is there a way to generate clean URL with firebase storage?

  2. if not, is there a work around? like somehow create a proxy script www.scripturl.com/fakeimageurl.jpg and retrieve firebasestorageurl.com/realimage.jpg?alt=media&token=9dab5705-351c-44f2-81a6-fc1b4b6eaf56 with it?

The project is with nodejs.

1 Answers
Related