Skip to content

feat: Add option to restrict credential usage in http request node #17583

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Joffcom
Copy link
Member

@Joffcom Joffcom commented Jul 23, 2025

Expect this to change as we test different ideas / approaches

Summary

This is the start of a PR to implement a feature where we can set an allowlist or similar on some credential types to restrict what sites the http request node can use them with.

At the moment an option is added to OAuth credentials, generic credentials and any pre-defined credential that contains the Authenticate method.]

image image

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-3355/add-allowlist-for-http-request-node-credential-usage

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Copy link

codecov bot commented Jul 23, 2025

Codecov Report

Attention: Patch coverage is 57.14286% with 36 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/cli/src/load-nodes-and-credentials.ts 15.00% 17 Missing ⚠️
...es-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts 40.90% 13 Missing ⚠️
packages/cli/src/credentials-helper.ts 0.00% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team node/improvement New feature or request labels Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant