Feat/mid session auth#1607
Closed
BobDickinson wants to merge 4 commits into
Closed
Annotations
10 errors
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>http://localhost:35567</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="http://localhost:35567" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="7e76037292912554f0951fc98fab15f2012b7d8c4e123be61ec8bd7a08c44016" />
<input type="hidden" name="code_challenge" value="hCNJhJPwQIxIF1FfbMKe1wjya8E3HX4vOmRlH8xdaKI" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:433:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>http://localhost:37823</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="http://localhost:37823" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="281a2576f022c8d013e7624d4a9830bbc33f271ae90275ff60e8cc1ba5fea99e" />
<input type="hidden" name="code_challenge" value="ZetVOeuU_jWDBBNQOoYZfvPLBKs1hQt7fzGhcfJyMFo" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:357:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>http://localhost:36165</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="http://localhost:36165" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="356d5e2029814605ff1895b95a9d822121a54afd175c5d815b122daaadc94ed4" />
<input type="hidden" name="code_challenge" value="Fs1UldRMxtxjLZxflPP51OSUCKjtRPIqvTKRua4T06o" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:433:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>http://localhost:36287</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="http://localhost:36287" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="a1d8a279b78ad7f30e93872d9b7998fd406a77e12fb82eb334f12a0d8e84f507" />
<input type="hidden" name="code_challenge" value="G0SNgDZaWbLdqy-Wa8jFEKL5XwaiuZoD2nSaT15Tcmo" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:357:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>test-static-client-2</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="test-static-client-2" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="0a16417b0e05f5dcffea36774b17c4fefd2d41c0d096eff82438c754165134d8" />
<input type="hidden" name="code_challenge" value="GrWwXveYeom-GDpj5sq1WMR4X8z4yzSkwGs7ms8Ts78" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:263:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>test-static-client</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="test-static-client" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="c89a6333a5a84f16dff138cc9fd9c402f3f840a64a442c97533519110ce2d2d0" />
<input type="hidden" name="code_challenge" value="0mjLHu2NWQcKxE2e26C6Z8hmS_1x7HY7shTIne0Obws" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:183:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>test-static-client-2</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="test-static-client-2" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="0a5c8e4358a751df130aade08144a0130567396e534aefc453f54e0b5a6689eb" />
<input type="hidden" name="code_challenge" value="LuhaUlm_urMna0h4-QAAwRDMrg_53JYAuoV66llrDCY" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:263:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>test-static-client</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="test-static-client" />
<input type="hidden" name="redirect_uri" value="http://localhost:3001/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="529982372976cae9ea72973b205fc9e26b9c57eab721f25c6b3612458c5b2d83" />
<input type="hidden" name="code_challenge" value="N7fEBnYGHACfePCjjGUb2WT0oxyF6G4V8TnDos2S9mo" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-e2e.test.ts:183:26
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>test-direct-step-up</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li><li><code>tools:read</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="test-direct-step-up" />
<input type="hidden" name="redirect_uri" value="http://localhost:3000/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp tools:read" />
<input type="hidden" name="state" value="e349e0a30b9ff0777f55c4aca22772cc046447caa0ce46e034d49c85982358b0" />
<input type="hidden" name="code_challenge" value="v7CmVxSw5QOo5flnK1dwrGbblxBTs6iiMTTX34KffhQ" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-direct-mid-session-e2e.test.ts:208:36
|
|
Run web integration tests:
clients/web/src/test/integration/helpers/oauth-client-fixtures.ts#L155
Error: Expected redirect (302/301), got 200: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Authorize — MCP test server</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem auto; max-width: 32rem; line-height: 1.5; }
h1 { font-size: 1.25rem; }
code { background: #f4f4f5; padding: 0.1rem 0.25rem; border-radius: 0.25rem; }
ul { padding-left: 1.25rem; }
button { font: inherit; padding: 0.5rem 1rem; margin-right: 0.5rem; cursor: pointer; }
.primary { background: #228be6; color: white; border: 1px solid #1c7ed6; border-radius: 0.25rem; }
.muted { color: #666; font-size: 0.9rem; }
</style>
</head>
<body>
<h1>Authorize MCP Inspector</h1>
<p class="muted">You were redirected to the <strong>local composable test authorization server</strong>.</p>
<p>Client: <code>test-direct-mid-session</code></p>
<p>Requested scopes:</p>
<ul><li><code>mcp</code></li></ul>
<form method="post" action="/oauth/authorize">
<input type="hidden" name="client_id" value="test-direct-mid-session" />
<input type="hidden" name="redirect_uri" value="http://localhost:3000/oauth/callback" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="mcp" />
<input type="hidden" name="state" value="d5954cb3b03684572f8534dd376c1e4640facbdee01be90281e924e32c141aa4" />
<input type="hidden" name="code_challenge" value="5vSRwHRC4e0_mIY7mvvPhxH7OqqjuMF85TkR2nLBtKI" />
<input type="hidden" name="code_challenge_method" value="S256" />
<button type="submit" class="primary">Authorize</button>
</form>
</body>
</html>
❯ completeOAuthAuthorization clients/web/src/test/integration/helpers/oauth-client-fixtures.ts:155:11
❯ clients/web/src/test/integration/mcp/inspectorClient-oauth-direct-mid-session-e2e.test.ts:127:36
|
background
wait
wait-all
cancel
parallel
Loading