Tripletex / Tripletex/tripletex-mcp

OAuth: metadata advertises RFC 9207 `iss` support, but /authorize never sends `iss` → strict MCP clients (Claude Code) reject login

Open
#3 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Summary

https://mcp.tripletex.no/.well-known/oauth-authorization-server advertises

"authorization_response_iss_parameter_supported": true

but the redirect back from https://mcp.tripletex.no/authorize does not include the iss parameter (only code and state).

Per RFC 9207 §2.4, a client that sees this flag MUST validate iss in the authorization response. MCP clients built on the current MCP TypeScript SDK (spec 2026-07-28 / SEP-2468) therefore reject the login:

Issuer mismatch in authorization response (RFC 9207): expected "https://mcp.tripletex.no/", received undefined

Reproduce

  1. Add https://mcp.tripletex.no as an HTTP MCP server in Claude Code (v2.1.234).
  2. Run /mcp → tripletex → Authenticate, complete login in the browser.
  3. Browser shows "Authentication successful", but Claude Code shows the error above and the server stays in "needs authentication".

Same server works via the claude.ai / Claude Desktop connector, because that OAuth client does not enforce the iss check yet.

Environment

  • Claude Code 2.1.234 (macOS)
  • Metadata checked 2026-08-18

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /authorize entry point and the /.well-known/oauth-authorization-server metadata endpoint; compare their response behavior with RFC 9207 §2.4. Reproduce the flow in Claude Code and verify that the advertised capability and authorization redirect agree without an issuer-mismatch error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.