Skip to content

test/mcp: Add auth failure mode integration tests#37651

Draft
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-tests-integration-auth
Draft

test/mcp: Add auth failure mode integration tests#37651
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-tests-integration-auth

Conversation

@bobbyiliev

@bobbyiliev bobbyiliev commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Adds a test/mcp workflow covering auth rejection against the OIDC listener: a malformed Authorization header and empty/non-JWT/unverifiable bearer tokens all return 401, and GET returns 405. The invariant is 'rejected, never accepted and never 5xx'. Note: I couldn't run this locally (the mzcompose image build needs a cross-compile toolchain that fails to install here), so the 401s are derived from reading the auth middleware rather than observed — CI is the verification gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant