fix(mcp): clarify debug oauth probe (#34350)
This commit is contained in:
@@ -761,7 +761,7 @@ export const McpDebugCommand = effectCmd({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (response.status === 401) {
|
if (response.status === 401) {
|
||||||
prompts.log.warn("Server returned 401 Unauthorized")
|
prompts.log.info("Initial unauthenticated check returned 401, so this server requires OAuth")
|
||||||
|
|
||||||
// Try to discover OAuth metadata
|
// Try to discover OAuth metadata
|
||||||
const oauthConfig = typeof serverConfig.oauth === "object" ? serverConfig.oauth : undefined
|
const oauthConfig = typeof serverConfig.oauth === "object" ? serverConfig.oauth : undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user