feat(webui): allow specifying MCP OAuth 2.0 trusted pivate hosts - #1045
Open
COM8 wants to merge 5 commits into
Open
feat(webui): allow specifying MCP OAuth 2.0 trusted pivate hosts#1045COM8 wants to merge 5 commits into
COM8 wants to merge 5 commits into
Conversation
COM8
force-pushed
the
feature/local-mcp-ip-trust
branch
from
August 26, 2026 18:58
c674e3c to
be8a45f
Compare
COM8
marked this pull request as ready for review
August 27, 2026 15:15
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.
Problem Description
In a corporate network Turnstone and for example your local GitLab are running on the same private network. When you now try to configure OAuth for example for the GitLab MCP server, Turnstone blocks this since the GitLab domain resolves to a private network (e.g.
gitlab.example.com->192.168.1.2).Changes
TURNSTONE_MCP_OAUTH_TRUSTED_PRIVATE_HOSTSenvironment variable with a list of trusted local IPs.In the picture above, you see the settings page with the new
oauth_trusted_private_hostsoption. The one host with theENVIRONMENTtag was set via an environment variable. The host with theMANUALtag was added manually via the webif and can be removed again.TODOs