Merged
Conversation
rakdutta
approved these changes
Nov 11, 2025
Collaborator
rakdutta
left a comment
There was a problem hiding this comment.
Testing Summary:
Verified and working as expected in the following scenarios:
- MCP with SSE transport — tested using both Bearer and Basic authentication.
- MCP with Streamable transport — tested using both Bearer and Basic authentication.
Tool testing is successful from both the Admin UI and the MCP Inspector (via Streamable transport on the virtual server).
Member
|
Please add documentation in docs/docs for this feature, including an adr. |
7f019f0 to
e52e1fd
Compare
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
e52e1fd to
7b16746
Compare
crivetimihai
approved these changes
Nov 13, 2025
Nayana-R-Gowda
pushed a commit
that referenced
this pull request
Nov 14, 2025
* Single auth use option Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * one time authentication checkbox added Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * configure edit form with one time checkbox Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * update gateway configuration changes for onetimeauth Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * save auth_type for one time auth Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * skip health checks for one time auth gateways Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * linting Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * added docs for one time auth usage with passthrough headers Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * added ard document Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * minor doc update Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> --------- Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
7 tasks
kcostell06
pushed a commit
to kcostell06/mcp-context-forge
that referenced
this pull request
Feb 24, 2026
* Single auth use option Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * one time authentication checkbox added Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * configure edit form with one time checkbox Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * update gateway configuration changes for onetimeauth Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * save auth_type for one time auth Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * skip health checks for one time auth gateways Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * linting Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * added docs for one time auth usage with passthrough headers Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * added ard document Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> * minor doc update Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com> --------- Signed-off-by: Keval Mahajan <mahajankeval23@gmail.com>
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.
✨ Feature / Enhancement PR
🔗 Epic / Issue
Closes #1387
🚀 Summary (1-2 sentences)
Added a one-time authentication configuration for adding MCP servers to the gateway. This feature allows users to access MCP servers via the gateway without storing credentials in the database. Instead of saving the credentials, users must configure them through passthrough headers.
This feature is helpful for someone who does not want to store the credentials in the gateway or cannot use vault plugin but still want to access the server via gateway through passthrough headers.
Key Changes:
X-Upstream-AuthorizationforAuthorizationheaders).Testing Steps:
🧪 Checks
make lintpassesmake testpasses📓 Notes (optional)
graph LR A[User] --> B["Add MCP Server"] B --> C{"Enable One-Time Authentication?"} C -->|Yes| D["Do Not Store Credentials in DB"] C -->|No| E["Store Credentials in DB"] D --> F["Configure Passthrough Headers (X-Upstream-Authorization)"] F --> G["Create Virtual Server"] G --> H["Link to MCP Server"] H --> I["Add Authentication Headers"] I --> J["Test Connection"] J --> K["Successful Authentication"] E --> L["Create Virtual Server with Stored Credentials"] %% Define styling for steps (Dark mode colors) classDef step fill:#1e1e1e,stroke:#ffffff,stroke-width:2px,color:#f5f5f5; class A,B,C,D,E,F,G,H,I,J,K,L step;