[RHIDP-12903] Remove Bearer From MCP HEADERS for Lightspeed - #2621
Merged
yangcao77 merged 3 commits intoMar 27, 2026
Conversation
Jdubrick
requested review from
a team,
karthikjeeyar,
rohitkrai03 and
yangcao77
as code owners
March 26, 2026 20:40
Changed Packages
|
Review Summary by QodoRemove Bearer prefix from MCP authorization headers
WalkthroughsDescription• Removes Bearer prefix from MCP authorization headers • Updates header format to send raw token instead • Aligns with Lightspeed Core API requirements • Includes test updates to reflect new header format Diagramflowchart LR
A["MCP Header Configuration"] -->|Previously| B["Authorization: Bearer token"]
A -->|Now| C["Authorization: token"]
C --> D["Lightspeed Core API"]
File Changes1. workspaces/lightspeed/plugins/lightspeed-backend/src/service/router.ts
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 📐 Spec deviations (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
Jdubrick
force-pushed
the
lightspeed-mcp-fix-mar26
branch
from
March 26, 2026 21:29
00b8077 to
161b7da
Compare
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Jdubrick
force-pushed
the
lightspeed-mcp-fix-mar26
branch
from
March 27, 2026 13:40
161b7da to
782db4d
Compare
|
yangcao77
approved these changes
Mar 27, 2026
yangcao77
left a comment
Contributor
There was a problem hiding this comment.
lgtm as @maysunfaisal has approved this PR
4 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Hey, I just made a Pull Request!
Bearerprefix from MCP headers on calls to Lightspeed Core as they do not want it therehttps://redhat.atlassian.net/browse/RHIDP-12903
✔️ Checklist