Describe the problem/error/question
I am trying to connect to Firebase’s “Authentication” section. When you log into Firebase you see this on the left hand site and can configure whether your application accepts email/password signups, unauthenticated, facebook, google etc.
Typically you can push,update and create certain things in there via REST endpoints if you are logged into the user account you’re making changes to. Ie a logged in user will get an idToken
which will allow them to update their own password.
However, I am trying to do some more ‘admin’ type of functions. I want to search through all registered users using a provided uId
. Normally to do this I need the admin-sdk in node.js but now I am trying to figure out how to replicate the functionality using n8n.
Please share your workflow
I don’t have a workflow to share - but I am keen to know if it’s possible and/or how.
I have currently tried using the firebase/firestore credentials but those nodes only look at the actual firestore databases so not really helpful.
So I thought I needed to do a custom http request node - but I don’t know what to set as my authentication credentials. I tried just applying the firebase/firestore credentials. I also tried setting up a ‘Google Service Account’ credential. I always get responses that I haven’t got the proper credentials.
Information on your n8n setup
-
n8n version:
1.1.1 -
Database (default: SQLite):
default -
n8n EXECUTIONS_PROCESS setting (default: own, main):
default -
Running n8n via (Docker, npm, n8n cloud, desktop app):
easypanel(docker) -
Operating system:
Ubuntu