Skip to content

fix(oauth): declare DCR application type - #1609

Open
timkley wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
timkley:fix/oauth-dcr-application-type
Open

fix(oauth): declare DCR application type#1609
timkley wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
timkley:fix/oauth-dcr-application-type

Conversation

@timkley

@timkley timkley commented Aug 16, 2026

Copy link
Copy Markdown

Summary

  • declare HTTPS callbacks as web OAuth clients
  • declare loopback HTTP callbacks as native OAuth clients
  • cover both registration shapes with DCR tests

Context

Some authorization servers validate redirect URIs against the registered application_type. Executor already knows whether its callback is hosted or loopback, but did not include that metadata during dynamic client registration.

The registration now sends the matching application type without changing client reuse or token handling.

Related to #770.

Verification

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • cd packages/core/sdk && bun run test src/oauth-register-dynamic.test.ts

The changed SDK suite passes. The full repository run still reports three unrelated failures in apps/cloud/src/account/org-api-key-revoke.node.test.ts.

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