Custom Nodes' Auth not supported in HTTP's "Predefined Credential Type"?

Describe the issue/error/question

I love the new Existing Credentials Picker in the HTTP node.
But, it doesn’t seem to be show the credentials created for Custom nodes.

Is this a bug or something that’s not yet implemented?

Information on your n8n setup

  • n8n version: 0.179.0
  • Database you’re using (default: SQLite): Postgres
  • Running n8n with the execution process [own(default), main]: main
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

At the moment only selected credentials are available in the HTTP Request node. Perhaps @Nivb_6 can confirm whether there are any plans to include custom node credentials as well.

Hi @shrey-42

In order for a node to appear in this drop-down the authentication should either be OAuth, or use the authenticate method (see Pipedrive example here)

Please let me node if this node node does use one of those authentication methods and it is still not working

2 Likes

It doesn’t. This is the credential code: n8n-custom-nodes/DirectusApi.credentials.ts at main · arladmin/n8n-custom-nodes · GitHub

Also, the Auth type is Bearer auth.

This credential is not eligible to appear in that dropdown as it is not either of the both - OAuth, or having the authenticate methods
See this one as an example for what would be included in the Predefined credential type dropdown