Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firestore - Service Account creds + document create with specific id #9713

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adrian-martinez-onestic
Copy link

@adrian-martinez-onestic adrian-martinez-onestic commented Jun 12, 2024

Summary

This PR adds two features:

  • Allows to use Google Service Accounts for Firestore nodes authentication.
  • Allows to create Firestore documents with specific ids (optionally).

Details

While its possible to use Firestore using a service account, it is currently not supported by n8n, as noted at https://docs.n8n.io/integrations/builtin/credentials/google/#compatible-nodes. Allowing to use a service account in this node allows not depending on a personal account, and provides a reliable way to connect to Firestore.

In this way, proposed changes are backwards compatible, and offer the possibility of using either Oauth2 or Service Account authentication, and optionally, supply a document id, as it is possible while calling API or creating the document manually through the UI:

Captura de pantalla 2024-06-12 a las 12 43 00 Captura de pantalla 2024-06-12 a las 12 43 34 Captura de pantalla 2024-06-12 a las 12 47 35 Captura de pantalla 2024-06-12 a las 12 53 57 Captura de pantalla 2024-06-12 a las 12 56 35 Captura de pantalla 2024-06-12 a las 13 03 32 Captura de pantalla 2024-06-12 a las 13 03 49

@CLAassistant
Copy link

CLAassistant commented Jun 12, 2024

CLA assistant check
All committers have signed the CLA.

@adrian-martinez-onestic adrian-martinez-onestic changed the title Feature/firestore sa document create with Firestore - Service Account creds + document create with specific id Jun 12, 2024
@n8n-assistant n8n-assistant bot added community Authored by a community member node/improvement New feature or request in linear Issue or PR has been created in Linear for internal review labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants