You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Descope team — following up on #743 / #744 (thanks for adding createApplicationByTemplate!). While integrating, I hit a related typing
inconsistency in the outbound-app create payloads.
We create DCR-based Outbound Apps (custom MCP servers that support RFC 7591
dynamic client registration) via createApplication(...), passing useDcr: true
and dcrUrl. The REST API accepts them and they work — but they aren't on the OutboundApplication type, so we have to cast the payload:
awaitclient.management.outboundApplication.createApplication({
id, name, description,useDcr: true,// not in OutboundApplication
dcrUrl,// not in OutboundApplicationpkce: true,defaultRedirectUrl: "https://api.descope.com/v1/outbound/oauth/callback",}asParameters<typeofclient.management.outboundApplication.createApplication>[0]);
What makes this a typing gap rather than an unsupported feature: #744 already
added these two fields — but only to OutboundAppTemplateOverrides, not to OutboundApplication (lib/management/types.ts):
So a DCR app can be created with full typing through the template path's overrides, but not through the direct createApplication path — same REST
endpoint, same fields, different types.
Proposed
Add useDcr?: boolean and dcrUrl?: string to OutboundApplication.
Environment
@descope/node-sdk@2.8.0 (latest published) — neither type has the fields.
next prerelease 0.0.0-next-868a081b-20260621 (contains feat: create outbound app from template #744) — OutboundAppTemplateOverrides
has useDcr/dcrUrl; OutboundApplication still doesn't. Same on main.
Hi Descope team — following up on #743 / #744 (thanks for adding
createApplicationByTemplate!). While integrating, I hit a related typinginconsistency in the outbound-app create payloads.
We create DCR-based Outbound Apps (custom MCP servers that support RFC 7591
dynamic client registration) via
createApplication(...), passinguseDcr: trueand
dcrUrl. The REST API accepts them and they work — but they aren't on theOutboundApplicationtype, so we have to cast the payload:What makes this a typing gap rather than an unsupported feature: #744 already
added these two fields — but only to
OutboundAppTemplateOverrides, not toOutboundApplication(lib/management/types.ts):So a DCR app can be created with full typing through the template path's
overrides, but not through the directcreateApplicationpath — same RESTendpoint, same fields, different types.
Proposed
Add
useDcr?: booleananddcrUrl?: stringtoOutboundApplication.Environment
@descope/node-sdk@2.8.0(latest published) — neither type has the fields.nextprerelease0.0.0-next-868a081b-20260621(contains feat: create outbound app from template #744) —OutboundAppTemplateOverrideshas
useDcr/dcrUrl;OutboundApplicationstill doesn't. Same onmain.