Custom tokens
If your code is not running in a managed runtime in Google Cloud, you must either provide a service account JSON file or at very least the serviceAccountId app option.
1
admin.initializeApp({
2
serviceAccountId: '[email protected]',
3
});
Copied!
When you got to Firebase service account under settings it gives you the IAM role for the account
Last modified 1yr ago
Copy link