Seeking Advice: Passing Credentials from External Website to n8n App

Hi everyone,

I’m currently working on a project where I need to pass a list of credentials from an external website’s credential addition page to my n8n application. I’ve been exploring various methods, but I’m wondering if anyone has experience with a straightforward approach for achieving this?

The scenario is as follows: users will be adding their credentials (such as API keys or access tokens) on a webpage outside of the n8n environment. I need to securely transfer these credentials to my n8n workflow for further processing.

I’m open to any suggestions or insights on the most efficient way to accomplish this integration. Any advice or pointers would be greatly appreciated!

Thanks in advance for your help.

Best regards,

[EDIT]
n8n version : 1.42.1
Database : none
EXECUTION_PROCESS : unkown
Running : npm or docker
OS : Windows/other

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Gros_Faignan, thanks for reaching out and being a part of the community!

If you’re concerned with the transmission of the credentials to n8n then you could encrypt them prior to the call to n8n and then decrypt them with the Code node.

Here’s a thread which might be helpful as a reference: How to decode base64 - #2 by MutedJam

1 Like

Deer @Ludwig ,

Your proposal to encrypt credentials before transmitting them to n8n and decrypting them using the Code node seems to be a last resort approach but I’ll check it out for further insights.

I’m considering another perspective where n8n acts as a trusted user . In this scenario, each user would individually authorize n8n to act on their behalf for specific services like GitHub, Google, Microsoft, and others.

This approach seems to prioritizes user control and transparency, as each user grants explicit consent for n8n to access their data on third-party services.

Thank you for your help

Best regards,

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.