firebase / Firebase Admin Authentication
Firebase Admin Auth: auth/invalid-credential
The credential cannot perform the requested action. createCustomToken() and verifyIdToken() require a certificate credential, not a refresh token or Application Default credential.
Visible symptoms
- Error code: auth/invalid-credential.
Safe verification and recovery
Use a certificate credential
Initialize the Admin SDK with a certificate credential for those methods.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.
Verified source list
Analyze a redacted excerpt locally All Firebase Admin Authentication errors