You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'[VueFire]: You must provide a "serviceAccount" or set the FIREBASE_CLIENT_EMAIL, FIREBASE_PRIVATE_KEY and FIREBASE_PROJECT_ID env variables.'
39
+
'[VueFire]: You must provide a "serviceAccount" (dev) or set the FIREBASE_CLIENT_EMAIL, FIREBASE_PRIVATE_KEY and FIREBASE_PROJECT_ID env variables production.'
25
40
)
26
41
}
42
+
27
43
initializeApp({
28
44
// TODO: is this really going to be used?
29
45
...firebaseAdmin.config,
30
-
credential: cert(
31
-
firebaseAdmin.serviceAccount||{
32
-
// This version should work in Firebase Functions and other providers while applicationDefault() only works on
33
-
// Firebase Functions. All values must exists because of the check above.
34
-
projectId: FIREBASE_PROJECT_ID!,
35
-
clientEmail: FIREBASE_CLIENT_EMAIL!,
36
-
// replace `\` and `n` character pairs w/ single `\n` character
0 commit comments