Header Auth Dynamic Value


Is it possible to set the value of an existing Header Auth saved Credential dynamically via a http request?

For example:

I create a http node that makes a request and gets back a token.

Can this token be updated to the Header Auth Credential i created every time that i run the workflow and how?

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:

Hey @Mulen,

You can use an expression in the credential value and have it reference a value from a node earlier in your workflow that would allow you to kind of do what you are after but it does mean the request is in the workflow history.

The best option I can think of would be to create a custom node that includes your credential logic then use that in the http request node.

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