Open hereisamara opened 2 years ago
Hi there, I've initiated a project to maintain this library, and I'll be using your solution to fix the mentioned bug. I'll co-author you in the commit of the fix, as I've modified it a bit. Feel free to reach me using my email displayed in my profile.
Repo: firebase-rest-api available in PyPI
best regards
The current get_url method takes the bearer token as a token URL parameter which in fact is a different token, named access token or download token.
I have changed the method so that it works for all types of firebase storage rules by retrieving the access token first and passing it into the URL.
Before the get_url() method returns
After changes, it returns the url with correct token