Skip to content

Advertise refresh-token grant in OAuth client metadata - #1974

Open
baggiiiie wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
baggiiiie:fix/cimd-refresh-token
Open

Advertise refresh-token grant in OAuth client metadata#1974
baggiiiie wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
baggiiiie:fix/cimd-refresh-token

Conversation

@baggiiiie

@baggiiiie baggiiiie commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Atlassian's /authv2 flow requests offline_access, but Executor's OAuth client metadata only declares authorization_code, which causes the client to be rejected.

this change adds refresh_token to hosted and local client metadata, matching what Executor already declares during dynamic client registration.

before

atlassian-before.mp4

after

atlassian-after.mp4

Linked issue

Fixes #1909

Verification

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • TURBO_TEST_CONCURRENCY=2 bun run test — 39/39 tasks passed
  • manual — Atlassian /authv2 connection succeeds
  • e2e — MCP OAuth · advertised CIMD starts authorization without dynamic registrationrecording

Checklist

  • Added a changeset (bun run changeset), or this change needs none.
  • Added or updated tests for the new behaviour.
  • No secrets, credentials, or private data in the diff.

@baggiiiie
baggiiiie force-pushed the fix/cimd-refresh-token branch from f7a1dcd to 6275248 Compare September 11, 2026 07:13
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.

[bug] Can't connect to Jira MCP

1 participant