doc/mixed auth example - #325
Open
valentinbeggi wants to merge 4 commits into
Open
Conversation
Comment on lines
+5
to
+6
| "source.organizeImports.biome": "explicit", | ||
| "source.fixAll.biome": "explicit" |
Member
There was a problem hiding this comment.
why do you need to manually set those 2 ?
Comment on lines
+12
to
+15
| "server:build": "tsc -p tsconfig.server.json", | ||
| "server:start": "node dist/index.js", | ||
| "web:build": "tsc -b web && vite build -c web/vite.config.ts", | ||
| "web:preview": "vite preview -c web/vite.config.ts" |
Member
There was a problem hiding this comment.
those are legacy, you can remove
neil-ac
force-pushed
the
doc/auth-example
branch
from
January 21, 2026 17:58
5697526 to
389e391
Compare
Contributor
|
@valentinbeggi @neil-ac something is blocked here ? :) |
Collaborator
Author
|
@qchuchu yes it's not working 🦧 |
Contributor
|
@valentinbeggi should we revive this ? mixed auth is supported by openai |
Contributor
|
Apparently it works as well in Claude (haven't tested myself): https://claude.com/docs/connectors/building/lazy-authentication -> +1 on this! I will need this for the V2s of some MCP App projects. V1 is often focused on unauthenticated product discovery, and V2 for authenticated user flows, could be cool to handle both with a single App |
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.
Mixed auth example
Note that it doesn't work very well in chatGPT. chatGPT should show UI for login in case the user is unauthenticated, except that they require that the tools return a
securitySchemeskey, which is not yet in the MCP spec nor in TS sdkmodelcontextprotocol/modelcontextprotocol#1488
#301