Setup Of Firebase-admin Sdk In Javascript File
My end goal is to get user email, using user's id. So far I figured out I need to use the firebase admin SDK. Right now I have this code: var admin = require('firebase-admin'); va
Solution 1:
Firebase Admin SDK is not available for Javascript, here the prerequisites: https://firebase.google.com/docs/admin/setup#prerequisites
So, for example, you cannot operate as admin in a web page for security reason, but only in a privileged environment (like a server).
I'm creating a web administration interface for my project, where admin operations are performed in Cloud Functions.
Post a Comment for "Setup Of Firebase-admin Sdk In Javascript File"