-
Notifications
You must be signed in to change notification settings - Fork 415
Open
Description
[READ] Step 1: Are you in the right place?
- For issues related to the code in this repository file a Github issue.
- If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
template. - For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the firebase-talk
google group. - For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Operating System version: MacOS 26
- Firebase SDK version: 13.7.0
- Firebase Product: auth
- Node.js version: 25
- NPM version: 11.11.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Create a new nitro project.
Add firebase-admin 13.7.0
Start the bundler via nitro dev
Call any auth function that requires an access token
Error message:
FirebaseAppError: Credential implementation provided to initializeApp() via the "credential" property failed to fetch a valid Google OAuth2 access token with the following error: "The "listener" argument must be of type function. Received an instance of Object".
The problem does not occur in production. It is resolved when downgrading to version 13.6.1.
It seems that google-auth-library 9.15.1 => 10.6.1 introduced the issue, but I'm not experienced enough with the codebase to dig deeper.
Relevant Code:
import { getAuth } from "firebase-admin/auth";
const { uid } = await getAuth().createUser({
email: body.email,
});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels