How to authenticate firebase-admin with nodejs?

Hi @CloudComputing ,

The error suggests that the credentials you’re using to authenticate the Admin SDK can’t be used for the action you’re trying to perform. Some authentication methods, like createCustomToken() and verifyIdToken(), require the SDK to be initialized with a certificate credential instead of a refresh token or Application Default credential. Check out the “Initialize the SDK” documentation for guidance on how to authenticate the Admin SDKs with a certificate credential.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.