How to change my Firebase login to a different Google account?

How do I change my Google login for a separate Firebase project?

I have one project that uses a client’s Google account to deploy to Firebase. This worked well in Wappler. However, I now need to deploy using a different client’s account. Wappler keeps using the 1st Google account to deploy to the new project.

I can see in firebase.debug that it is using the original account to authenticate to the new Firebase project.

[debug] [2024-01-08T22:12:46.212Z] [iam] error while checking permissions, command may fail: FirebaseError: HTTP Error: 401, Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See Integrating Google Sign-In into your web app  |  Authentication  |  Google for Developers.

There doesn’t seem to be a place to change this. Seems like I should be able to find it in the project settings.

You could use the Wappler in-built search feature which not only searches files but also is similar to grep and can find strings within documents. That way you can search for any corresponding connection details you have for the current configuration, locate them, and make changes necessary for your new connection settings.

I get 2 results:
firebase-debug.log (from all of my attempts)
firebase.json
There are no credentials to change in that file:
image

Thanks

How about searching for the credentials used in the connection?

Yeah, same thing. Only results are from the attempts in the firebase-debug.log.

I guess that means it’s got to be in the Wappler instance somewhere, not the project.

image

I do appreciate the ideas!