Skip to content

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

Merged
RhysSullivan merged 2 commits into
UsefulSoftwareCo:mainfrom
timkley:fix/oauth-dcr-application-type
Aug 28, 2026
Merged

fix(oauth): declare DCR application type#1609
RhysSullivan merged 2 commits 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.

@RhysSullivan
RhysSullivan merged commit 662ebe2 into UsefulSoftwareCo:main Aug 28, 2026
75 of 76 checks passed
@RhysSullivan RhysSullivan mentioned this pull request Aug 28, 2026
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.

2 participants