Why Download token(Access token) is missing in files created in Firebase storage?

734 views
Skip to first unread message

Atanu Dasgupta

unread,
Dec 5, 2019, 10:08:35 AM12/5/19
to Firebase Google Group
when i create a new file in firebase storage using nodeJs, the access token is not there? Any idea what coud have caused this?


All BUENO

unread,
Dec 5, 2019, 11:41:52 AM12/5/19
to Firebase Google Group
On Thursday, December 5, 2019 at 7:08:35 AM UTC-8, Atanu Dasgupta wrote:
> when i create a new file in firebase storage using nodeJs, the access token is not there? Any idea what coud have caused this?

No I don't , is there anything I can or you can do to fix the problem?

Atanu Dasgupta

unread,
Dec 6, 2019, 10:07:14 AM12/6/19
to fireba...@googlegroups.com
I was able to use signedUrl instead and that worked for my usecase. As a workaround. 

But not sure why download token is missing 

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f005bd21-9a82-4b18-8e99-0e40fa45b0a2%40googlegroups.com.

Hiranya Jayathilaka

unread,
Dec 6, 2019, 11:32:54 AM12/6/19
to fireba...@googlegroups.com
Download tokens are strictly a Firebase concept, supported mainly in the client SDKs. Server-side Node.js libraries like firebase-admin and @google-cloud/storage don't support it. Instead they support signed URLs.



--

Hiranya Jayathilaka | Software Engineer | h...@google.com | 650-203-0128

Reply all
Reply to author
Forward
0 new messages