Skip to content

fix(HTTP Request Node): Add support for Bearer Auth in HttpRequest node #15043

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

Conversation

ShireenMissi
Copy link
Contributor

@ShireenMissi ShireenMissi commented May 1, 2025

Summary

This PR adds supports for HttpBearerAuth to HttpRequest Node >= V2
It also updates the linter rules to exclude test files from nodes file naming convention

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-2909/community-issue-401-unauthorized-no-authorization-token-provided-error
fixes #14615

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)

@ShireenMissi ShireenMissi changed the title fix(HttpRequest Node): Add support for Bearer Auth in HttpRequest node fix(HTTP Request Node): Add support for Bearer Auth in HttpRequest node May 1, 2025
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mrge found 2 issues across 4 files. View them in mrge.io

@dana-gill dana-gill self-requested a review May 1, 2025 15:51
@ShireenMissi ShireenMissi force-pushed the node-2909-community-issue-401-unauthorized-no-authorization-token-provided-error branch 2 times, most recently from 921c9eb to 7266914 Compare May 1, 2025 15:55
Joffcom
Joffcom previously approved these changes May 1, 2025
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/improvement New feature or request labels May 1, 2025
Copy link

codecov bot commented May 1, 2025

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...es-base/nodes/HttpRequest/V2/HttpRequestV2.node.ts 85.71% 0 Missing and 1 partial ⚠️
...es-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts 83.33% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Contributor

github-actions bot commented May 1, 2025

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi force-pushed the node-2909-community-issue-401-unauthorized-no-authorization-token-provided-error branch from 7266914 to fd8c36c Compare May 1, 2025 16:19
Joffcom
Joffcom previously approved these changes May 1, 2025
Copy link
Contributor

github-actions bot commented May 1, 2025

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi removed the request for review from dana-gill May 1, 2025 17:03
@ShireenMissi ShireenMissi force-pushed the node-2909-community-issue-401-unauthorized-no-authorization-token-provided-error branch from e086c85 to ead4958 Compare May 2, 2025 08:19
@ShireenMissi ShireenMissi force-pushed the node-2909-community-issue-401-unauthorized-no-authorization-token-provided-error branch from ead4958 to 12ac65a Compare May 2, 2025 08:21
Copy link
Contributor

github-actions bot commented May 2, 2025

⚠️ Some Cypress E2E specs are failing, please fix them before merging

Copy link
Contributor

github-actions bot commented May 2, 2025

✅ All Cypress E2E specs passed

@ShireenMissi ShireenMissi merged commit 31003aa into master May 2, 2025
36 checks passed
@ShireenMissi ShireenMissi deleted the node-2909-community-issue-401-unauthorized-no-authorization-token-provided-error branch May 2, 2025 09:33
@github-actions github-actions bot mentioned this pull request May 5, 2025
@janober
Copy link
Member

janober commented May 5, 2025

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

401 Unauthorized - "No authorization token provided" error in HTTP Request node
3 participants