Closed
Description
Can you give an example of the data that should be in the FIREBASE_CONFIG environment variable when calling initializeApp
I see that there should be an object in the 'credential' property
But it also checks for a method called 'getAccessToken'
firebase-app.js:203
if (typeof credential !== 'object' || credential === null || typeof credential.getAccessToken !== 'function') {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INVALID_APP_OPTIONS, "Invalid Firebase app options passed as the first argument to initializeApp() for the " +
("app named \"" + this.name_ + "\". The \"credential\" property must be an object which implements ") +
"the Credential interface.");
}
How can I create this method through the environment variable string?
Metadata
Metadata
Assignees
Labels
No labels